]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_hir/src/hir_id.rs
Auto merge of #90291 - geeklint:loosen_weak_debug_bound, r=dtolnay
[rust.git] / compiler / rustc_hir / src / hir_id.rs
index 5d05adfb55654efb9184d872b62427aea6eefef3..3b4add0cf4d40295f1de0d41e3cf8a7ee199fc76 100644 (file)
@@ -119,7 +119,7 @@ pub fn index(self) -> (usize, usize) {
 
 impl fmt::Display for HirId {
     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
-        write!(f, "{:?}", self)
+        write!(f, "{self:?}")
     }
 }