Rollup merge of #81144 - nhwn:typo-map-while, r=jackh726

Fixed formatting typo in map_while docs

changes `` ` None` `` to ``[`None`]`` for consistency
This commit is contained in:
Guillaume Gomez
2021-02-03 08:41:22 +01:00
committed by GitHub
+1 -1
View File
@@ -1213,7 +1213,7 @@ fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
/// 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