Skip to content

Commit 1513424

Browse files
committed
Remove mention of HashMap<K, V> not offering iter_mut
1 parent c749254 commit 1513424

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

library/core/src/iter/mod.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,12 @@
243243
//! ```
244244
//!
245245
//! While many collections offer `iter()`, not all offer `iter_mut()`. For
246-
//! example, mutating the keys of a [`HashSet<T>`] or [`HashMap<K, V>`] could
247-
//! put the collection into an inconsistent state if the key hashes change, so
248-
//! these collections only offer `iter()`.
246+
//! example, mutating the keys of a [`HashSet<T>`] could put the collection
247+
//! into an inconsistent state if the key hashes change, so this collection
248+
//! only offers `iter()`.
249249
//!
250250
//! [`into_iter()`]: IntoIterator::into_iter
251251
//! [`HashSet<T>`]: ../../std/collections/struct.HashSet.html
252-
//! [`HashMap<K, V>`]: ../../std/collections/struct.HashMap.html
253252
//!
254253
//! # Adapters
255254
//!

0 commit comments

Comments
 (0)