Skip to content

Commit

Permalink
Merge pull request #19 from tmknight/develop
Browse files Browse the repository at this point in the history
Remove unnecessary to_string
  • Loading branch information
tmknight authored Jan 14, 2024
2 parents 18421c8 + 2a1d07c commit 3e39d63
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 3e39d63

Please sign in to comment.