]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/collections/hash/map.rs
Auto merge of #98284 - JohnTitor:rollup-7lbs143, r=JohnTitor
[rust.git] / library / std / src / collections / hash / map.rs
index 192a21f2ffc2d2eff53645aee1a38ad9ef55aef8..237c5ee73409eacd6c373aa0d03abfd5b9b864a4 100644 (file)
@@ -588,7 +588,7 @@ pub fn is_empty(&self) -> bool {
     ///
     /// If the returned iterator is dropped before being fully consumed, it
     /// drops the remaining key-value pairs. The returned iterator keeps a
-    /// mutable borrow on the vector to optimize its implementation.
+    /// mutable borrow on the map to optimize its implementation.
     ///
     /// # Examples
     ///