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 {
519
519
/// element.
520
520
///
521
521
/// `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
523
523
/// calls this closure on each element of the original iterator.
524
524
///
525
525
/// If you are good at thinking in types, you can think of `map()` like this:
@@ -533,6 +533,7 @@ pub trait Iterator {
533
533
/// more idiomatic to use [`for`] than `map()`.
534
534
///
535
535
/// [`for`]: ../../book/ch03-05-control-flow.html#looping-through-a-collection-with-for
536
+ /// [`FnMut`]: ../../std/ops/trait.FnMut.html
536
537
///
537
538
/// # Examples
538
539
///
You can’t perform that action at this time.
0 commit comments