Remove pointless copying of string before copying it
This commit is contained in:

committed by
Kenny Levinsen

parent
755c42b8d8
commit
4b402a5753
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user