Remove mention of HashMap<K, V> not offering iter_mut
This commit is contained in:
parent
c74925438c
commit
15134249f4
@ -243,13 +243,12 @@
|
|||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! While many collections offer `iter()`, not all offer `iter_mut()`. For
|
//! While many collections offer `iter()`, not all offer `iter_mut()`. For
|
||||||
//! example, mutating the keys of a [`HashSet<T>`] or [`HashMap<K, V>`] could
|
//! example, mutating the keys of a [`HashSet<T>`] could put the collection
|
||||||
//! put the collection into an inconsistent state if the key hashes change, so
|
//! into an inconsistent state if the key hashes change, so this collection
|
||||||
//! these collections only offer `iter()`.
|
//! only offers `iter()`.
|
||||||
//!
|
//!
|
||||||
//! [`into_iter()`]: IntoIterator::into_iter
|
//! [`into_iter()`]: IntoIterator::into_iter
|
||||||
//! [`HashSet<T>`]: ../../std/collections/struct.HashSet.html
|
//! [`HashSet<T>`]: ../../std/collections/struct.HashSet.html
|
||||||
//! [`HashMap<K, V>`]: ../../std/collections/struct.HashMap.html
|
|
||||||
//!
|
//!
|
||||||
//! # Adapters
|
//! # Adapters
|
||||||
//!
|
//!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user