Skip to content

Commit

Permalink
Address clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykMroczek committed Feb 17, 2024
1 parent 1b96ff8 commit c57dda0
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 @@ -34,7 +34,7 @@ fn main() {
std::process::exit(1);
}
format_files(&args[2..], true);
} else if args[1].starts_with("-") {
} else if args[1].starts_with('-') {
eprintln!("Unrecognized option: '{}'.\n{}", args[1], HELP);
std::process::exit(1);
} else {
Expand Down

0 comments on commit c57dda0

Please sign in to comment.