]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_query_impl/src/profiling_support.rs
Rollup merge of #106387 - jyn514:clippy, r=Mark-Simulacrum
[rust.git] / compiler / rustc_query_impl / src / profiling_support.rs
index 5f54bab9c31474d87852d7e4fa820a34a385274d..4743170e9bfd8a450f2049e45699e1e4ff44baae 100644 (file)
@@ -111,7 +111,7 @@ impl<T: Debug> IntoSelfProfilingString for T {
         &self,
         builder: &mut QueryKeyStringBuilder<'_, '_>,
     ) -> StringId {
-        let s = format!("{:?}", self);
+        let s = format!("{self:?}");
         builder.profiler.alloc_string(&s[..])
     }
 }