fixed formatting typo in map_while

This commit is contained in:
Nathan Nguyen 2021-01-17 18:14:58 -06:00
parent 4253153db2
commit 829f6bb672

View File

@ -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