We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45205f2 commit 6739c0eCopy full SHA for 6739c0e
src/libcore/iter/iterator.rs
@@ -519,7 +519,7 @@ pub trait Iterator {
519
/// element.
520
///
521
/// `map()` transforms one iterator into another, by means of its argument:
522
- /// something that implements `FnMut`. It produces a new iterator which
+ /// something that implements [`FnMut`]. It produces a new iterator which
523
/// calls this closure on each element of the original iterator.
524
525
/// If you are good at thinking in types, you can think of `map()` like this:
@@ -533,6 +533,7 @@ pub trait Iterator {
533
/// more idiomatic to use [`for`] than `map()`.
534
535
/// [`for`]: ../../book/ch03-05-control-flow.html#looping-through-a-collection-with-for
536
+ /// [`FnMut`]: ../../std/ops/trait.FnMut.html
537
538
/// # Examples
539
0 commit comments