Skip to content

Commit

Permalink
Satisfy Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Sep 14, 2020
1 parent 79799e0 commit faf19be
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 @@ -22,7 +22,7 @@ fn do_main() -> io::Result<()> {
for arg in env::args().skip(1) {
if arg == "-w" {
weighted = true;
} else if arg.starts_with("-") {
} else if arg.starts_with('-') {
println!("usage: counts [-w] [infiles ...]");
return Ok(());
} else {
Expand Down

0 comments on commit faf19be

Please sign in to comment.