Rollup merge of #31201 - steveklabnik:gh30633, r=alexcrichton
Fixes #30633
This commit is contained in:
commit
79157b3fb5
@ -2740,7 +2740,13 @@ pub trait Extend<A> {
|
|||||||
/// It is important to note that both back and forth work on the same range,
|
/// It is important to note that both back and forth work on the same range,
|
||||||
/// and do not cross: iteration is over when they meet in the middle.
|
/// and do not cross: iteration is over when they meet in the middle.
|
||||||
///
|
///
|
||||||
|
/// In a similar fashion to the [`Iterator`] protocol, once a
|
||||||
|
/// `DoubleEndedIterator` returns `None` from a `next_back()`, calling it again
|
||||||
|
/// may or may not ever return `Some` again. `next()` and `next_back()` are
|
||||||
|
/// interchangable for this purpose.
|
||||||
|
///
|
||||||
/// [`Iterator`]: trait.Iterator.html
|
/// [`Iterator`]: trait.Iterator.html
|
||||||
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// Basic usage:
|
/// Basic usage:
|
||||||
|
Loading…
Reference in New Issue
Block a user