Remove pointless copying of string before copying it

This commit is contained in:
Hugo Osvaldo Barrera
2023-06-18 17:10:01 +02:00
committed by Kenny Levinsen
parent 755c42b8d8
commit 4b402a5753

View File

@@ -146,7 +146,7 @@ fn main() {
let matches = match opts.parse(&args[1..]) {
Ok(m) => m,
Err(f) => {
println!("{}", f.to_string());
println!("{}", f);
print_usage(&program, opts);
std::process::exit(1);
}