diff options
| author | Nathan Nguyen <nathan.tm.nguyen@gmail.com> | 2021-01-17 18:14:58 -0600 |
|---|---|---|
| committer | Nathan Nguyen <nathan.tm.nguyen@gmail.com> | 2021-01-17 18:14:58 -0600 |
| commit | 829f6bb6727f93970f86788044e32caa2f358000 (patch) | |
| tree | fd3b16cd8fe1afde4cb288a8c70022c4a75e9cca | |
| parent | 4253153db205251f72ea4493687a31e04a2a8ca0 (diff) | |
| download | rust-829f6bb6727f93970f86788044e32caa2f358000.tar.gz rust-829f6bb6727f93970f86788044e32caa2f358000.zip | |
fixed formatting typo in map_while
| -rw-r--r-- | library/core/src/iter/traits/iterator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index 83d339d8f40..de18abdd0f8 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -1171,7 +1171,7 @@ pub trait Iterator { /// the iteration should stop, but wasn't placed back into the iterator. /// /// Note that unlike [`take_while`] this iterator is **not** fused. - /// It is also not specified what this iterator returns after the first` None` is returned. + /// It is also not specified what this iterator returns after the first [`None`] is returned. /// If you need fused iterator, use [`fuse`]. /// /// [`fuse`]: Iterator::fuse |
