Skip to content

Commit

Permalink
Remove unnecessary to_string
Browse files Browse the repository at this point in the history
  • Loading branch information
tmknight committed Jan 14, 2024
1 parent a3fb45c commit 2a1d07c
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 @@ -73,7 +73,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let matches = match opts.parse(&args[1..]) {
Ok(m) => m,
Err(f) => {
println!("{}", f.to_string());
println!("{}", f);
println!("{}", opts.usage(&program));
std::process::exit(1);
}
Expand Down

0 comments on commit 2a1d07c

Please sign in to comment.