File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ pub trait Iterator {
519519 /// element.
520520 ///
521521 /// `map()` transforms one iterator into another, by means of its argument:
522- /// something that implements `FnMut`. It produces a new iterator which
522+ /// something that implements [ `FnMut`] . It produces a new iterator which
523523 /// calls this closure on each element of the original iterator.
524524 ///
525525 /// If you are good at thinking in types, you can think of `map()` like this:
@@ -533,6 +533,7 @@ pub trait Iterator {
533533 /// more idiomatic to use [`for`] than `map()`.
534534 ///
535535 /// [`for`]: ../../book/ch03-05-control-flow.html#looping-through-a-collection-with-for
536+ /// [`FnMut`]: ../../std/ops/trait.FnMut.html
536537 ///
537538 /// # Examples
538539 ///
You can’t perform that action at this time.
0 commit comments