Skip to content

Commit 6edc90a

Browse files
committed
[update patch]
wchargin-branch: doc-iter-by-reference wchargin-source: e4069ac9a9d73860467cea74cf3ae1605af37d74
1 parent ce3d604 commit 6edc90a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

library/core/src/iter/mod.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,13 @@
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 put
247-
//! the collection into an inconsistent state if the key hashes change, so these
248-
//! collections only offer `iter()`.
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()`.
249249
//!
250250
//! [`into_iter()`]: IntoIterator::into_iter
251+
//! [`HashSet<T>`]: ../../std/collections/struct.HashSet.html
252+
//! [`HashMap<K, V>`]: ../../std/collections/struct.HashMap.html
251253
//!
252254
//! # Adapters
253255
//!

0 commit comments

Comments
 (0)