Skip to content

Commit 7330a9c

Browse files
Rollup merge of #81144 - nhwn:typo-map-while, r=jackh726
Fixed formatting typo in map_while docs changes `` ` None` `` to ``[`None`]`` for consistency
2 parents e6a0f3c + 829f6bb commit 7330a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/iter/traits/iterator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ pub trait Iterator {
12131213
/// the iteration should stop, but wasn't placed back into the iterator.
12141214
///
12151215
/// Note that unlike [`take_while`] this iterator is **not** fused.
1216-
/// It is also not specified what this iterator returns after the first` None` is returned.
1216+
/// It is also not specified what this iterator returns after the first [`None`] is returned.
12171217
/// If you need fused iterator, use [`fuse`].
12181218
///
12191219
/// [`fuse`]: Iterator::fuse

0 commit comments

Comments
 (0)