1
Fork 0

Remove redundant clone

This commit is contained in:
Shotaro Yamada 2018-10-26 03:11:11 +09:00
parent 7b0735a832
commit 3878d24ef6
35 changed files with 56 additions and 65 deletions

View file

@ -460,7 +460,7 @@ fn main_args(args: &[String]) -> isize {
let externs = match parse_externs(&matches) {
Ok(ex) => ex,
Err(err) => {
diag.struct_err(&err.to_string()).emit();
diag.struct_err(&err).emit();
return 1;
}
};