Skip to content

Commit

Permalink
happy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Mar 1, 2024
1 parent 18894ba commit e7a6ae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/db_utils/cli/copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ pub fn run(common: &common::cli::Args, args: &Args) -> Result<(), anyhow::Error>

// Perform the main work of copying over data.
tracing::info!("Copying data");
for cf_name in &cf_names {
for cf_name in cf_names {
if args.skip_cfs.contains(&cf_name) {
tracing::info!(" skipping column family contents {}", cf_name);
continue;
Expand Down
2 changes: 1 addition & 1 deletion src/genes/cli/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ pub mod dbnsfp_gene {
}

/// Serialize `Vec<String>`, counterpart to `deserialize_vec`.
fn serialize_vec<S>(x: &Vec<String>, s: S) -> Result<S::Ok, S::Error>
fn serialize_vec<S>(x: &[String], s: S) -> Result<S::Ok, S::Error>
where
S: Serializer,
{
Expand Down

0 comments on commit e7a6ae8

Please sign in to comment.