@@ -179,8 +179,8 @@ pub trait Iterator {
179
179
180
180
/// Creates an iterator that iterates over both this and the specified
181
181
/// iterators simultaneously, yielding the two elements as pairs. When
182
- /// either iterator returns None, all further invocations of next() will
183
- /// return None.
182
+ /// either iterator returns ` None` , all further invocations of next() will
183
+ /// return ` None` .
184
184
///
185
185
/// # Examples
186
186
///
@@ -254,7 +254,7 @@ pub trait Iterator {
254
254
}
255
255
256
256
/// Creates an iterator that both filters and maps elements.
257
- /// If the specified function returns None, the element is skipped.
257
+ /// If the specified function returns ` None` , the element is skipped.
258
258
/// Otherwise the option is unwrapped and the new value is yielded.
259
259
///
260
260
/// # Examples
@@ -403,7 +403,7 @@ pub trait Iterator {
403
403
/// Creates a new iterator that behaves in a similar fashion to fold.
404
404
/// There is a state which is passed between each iteration and can be
405
405
/// mutated as necessary. The yielded values from the closure are yielded
406
- /// from the Scan instance when not None.
406
+ /// from the Scan instance when not ` None` .
407
407
///
408
408
/// # Examples
409
409
///
@@ -701,7 +701,7 @@ pub trait Iterator {
701
701
702
702
/// Returns the index of the last element satisfying the specified predicate
703
703
///
704
- /// If no element matches, None is returned.
704
+ /// If no element matches, ` None` is returned.
705
705
///
706
706
/// Does not consume the iterator *before* the first found element.
707
707
///
0 commit comments