Skip to content

Commit

Permalink
clippy:needless_borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Aug 18, 2024
1 parent 277366a commit b270f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
let mut snappy = false;
let (output_extension, output_delim) = if let Some(ref output_path) = args.flag_output {
let output_path = Path::new(&output_path);
get_delim_by_extension(&output_path, &mut snappy, b',')
get_delim_by_extension(output_path, &mut snappy, b',')
} else {
(String::new(), b',')
};
Expand Down

0 comments on commit b270f9a

Please sign in to comment.