Skip to content

Commit

Permalink
Fix cargo clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenperera committed Dec 20, 2023
1 parent db72265 commit 928e644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ fn print_file_name(file_path: &Path, contents_changed: bool, options: &Options)
if contents_changed {
println!("{}", line);
} else {
eprintln!("{}", line.custom_color(GRAY.clone()));
eprintln!("{}", line.custom_color(*GRAY));
}
}
}
Expand Down

0 comments on commit 928e644

Please sign in to comment.