about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/vec_map.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-01-09 13:49:07 +0100
committerRalf Jung <post@ralfj.de>2023-01-09 13:49:07 +0100
commit236ae262bc80dabf67669a2763fda5034982b9b9 (patch)
tree5fcef00e3290dcedd98e39e2b73c978cde47413c /compiler/rustc_data_structures/src/vec_map.rs
parent8740443c354ee1510a16017fae2104fcc39933cb (diff)
parentc54c8cbac882e149e04a9e1f2d146fd548ae30ae (diff)
downloadrust-236ae262bc80dabf67669a2763fda5034982b9b9.tar.gz
rust-236ae262bc80dabf67669a2763fda5034982b9b9.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_data_structures/src/vec_map.rs')
-rw-r--r--compiler/rustc_data_structures/src/vec_map.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/vec_map.rs b/compiler/rustc_data_structures/src/vec_map.rs
index 2417df66bb9..d1a99bcaeb7 100644
--- a/compiler/rustc_data_structures/src/vec_map.rs
+++ b/compiler/rustc_data_structures/src/vec_map.rs
@@ -71,8 +71,7 @@ where
         // This should return just one element, otherwise it's a bug
         assert!(
             filter.next().is_none(),
-            "Collection {:#?} should have just one matching element",
-            self
+            "Collection {self:#?} should have just one matching element"
         );
         Some(value)
     }