clippy::perf fixes
This commit is contained in:
parent
4961b107f2
commit
28ef4169cc
9 changed files with 13 additions and 13 deletions
|
@ -67,7 +67,7 @@ crate fn dump_closure_profile(tcx: TyCtxt<'tcx>, closure_instance: Instance<'tcx
|
|||
src_file.prefer_local(),
|
||||
line_nos
|
||||
) {
|
||||
eprintln!("Error writting to file {}", e.to_string())
|
||||
eprintln!("Error writing to file {}", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue