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:
commit
7330a9ce32
@ -1213,7 +1213,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
|
||||
|
Loading…
Reference in New Issue
Block a user