diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-11-29 13:10:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-29 13:10:45 +0100 |
| commit | 87fa7dc69a21766327c4f514e4c8545cdcf27dbc (patch) | |
| tree | 785299ad01d90bac10f8417576f16ee05517e629 /src/libcore | |
| parent | 2d3236c68f81425c2ac8c57cbf6788a257230121 (diff) | |
| parent | 6739c0e935ecfc838f818c27bfaa5665b6831e69 (diff) | |
| download | rust-87fa7dc69a21766327c4f514e4c8545cdcf27dbc.tar.gz rust-87fa7dc69a21766327c4f514e4c8545cdcf27dbc.zip | |
Rollup merge of #56273 - GuillaumeGomez:iterator-fnmut-missing-link, r=steveklabnik
Add missing doc link r? @steveklabnik
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/iter/iterator.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs index fd4189ef50d..3063cb1a7df 100644 --- a/src/libcore/iter/iterator.rs +++ b/src/libcore/iter/iterator.rs @@ -519,7 +519,7 @@ pub trait Iterator { /// element. /// /// `map()` transforms one iterator into another, by means of its argument: - /// something that implements `FnMut`. It produces a new iterator which + /// something that implements [`FnMut`]. It produces a new iterator which /// calls this closure on each element of the original iterator. /// /// If you are good at thinking in types, you can think of `map()` like this: @@ -533,6 +533,7 @@ pub trait Iterator { /// more idiomatic to use [`for`] than `map()`. /// /// [`for`]: ../../book/ch03-05-control-flow.html#looping-through-a-collection-with-for + /// [`FnMut`]: ../../std/ops/trait.FnMut.html /// /// # Examples /// |
