We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce3d604 commit 6edc90aCopy full SHA for 6edc90a
library/core/src/iter/mod.rs
@@ -243,11 +243,13 @@
243
//! ```
244
//!
245
//! 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 put
247
-//! the collection into an inconsistent state if the key hashes change, so these
248
-//! collections only offer `iter()`.
+//! example, mutating the keys of a [`HashSet<T>`] or [`HashMap<K, V>`] could
+//! put the collection into an inconsistent state if the key hashes change, so
+//! these collections only offer `iter()`.
249
250
//! [`into_iter()`]: IntoIterator::into_iter
251
+//! [`HashSet<T>`]: ../../std/collections/struct.HashSet.html
252
+//! [`HashMap<K, V>`]: ../../std/collections/struct.HashMap.html
253
254
//! # Adapters
255
0 commit comments