about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/src/util.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-11-04 20:16:57 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2021-11-04 21:07:56 +0100
commit28ef4169ccc62f3f1a35b6b002c29ea9bc6b2334 (patch)
tree9fa3210bff41d8ad193f6cd48c14758c2f2f11a6 /compiler/rustc_monomorphize/src/util.rs
parent4961b107f204e15b26961eab0685df6be3ab03c6 (diff)
downloadrust-28ef4169ccc62f3f1a35b6b002c29ea9bc6b2334.tar.gz
rust-28ef4169ccc62f3f1a35b6b002c29ea9bc6b2334.zip
clippy::perf fixes
Diffstat (limited to 'compiler/rustc_monomorphize/src/util.rs')
-rw-r--r--compiler/rustc_monomorphize/src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_monomorphize/src/util.rs b/compiler/rustc_monomorphize/src/util.rs
index 799b4e18c24..4392c02f874 100644
--- a/compiler/rustc_monomorphize/src/util.rs
+++ b/compiler/rustc_monomorphize/src/util.rs
@@ -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)
         }
     }
 }