]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_query_system/src/dep_graph/dep_node.rs
Fix `uninlined_format_args` for some compiler crates
[rust.git] / compiler / rustc_query_system / src / dep_graph / dep_node.rs
index d79c5816a9c40bb1fc0d3aab18113ae01af46ea8..9e1ca6ab515d846e1f444252dcc4a7ac2ac8120a 100644 (file)
@@ -120,7 +120,7 @@ fn to_fingerprint(&self, _: Tcx) -> Fingerprint {
     }
 
     fn to_debug_str(&self, _: Tcx) -> String {
-        format!("{:?}", self)
+        format!("{self:?}")
     }
 
     /// This method tries to recover the query key from the given `DepNode`,