diff --git a/library/core/src/iter/mod.rs b/library/core/src/iter/mod.rs index 2ace734fb0c7..3e74637b49f1 100644 --- a/library/core/src/iter/mod.rs +++ b/library/core/src/iter/mod.rs @@ -243,11 +243,13 @@ //! ``` //! //! While many collections offer `iter()`, not all offer `iter_mut()`. For -//! example, mutating the keys of a `HashSet` or `HashMap` could put -//! the collection into an inconsistent state if the key hashes change, so these -//! collections only offer `iter()`. +//! example, mutating the keys of a [`HashSet`] or [`HashMap`] could +//! put the collection into an inconsistent state if the key hashes change, so +//! these collections only offer `iter()`. //! //! [`into_iter()`]: IntoIterator::into_iter +//! [`HashSet`]: ../../std/collections/struct.HashSet.html +//! [`HashMap`]: ../../std/collections/struct.HashMap.html //! //! # Adapters //!