From 2a1d07cf4244e2fd5ee925eec4116be467393cce Mon Sep 17 00:00:00 2001 From: tmknight Date: Sun, 14 Jan 2024 17:08:13 -0500 Subject: [PATCH] Remove unnecessary to_string --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3fbd85f..9a79e7d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -73,7 +73,7 @@ async fn main() -> Result<(), Box> { 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); }