Skip to content

Commit 3f359d9

Browse files
authored
Rollup merge of rust-lang#34732 - durka:patch-27, r=steveklabnik
document DoubleEndedIterator::next_back document DoubleEndedIterator::next_back fixes rust-lang#34726
2 parents ee771bf + b4ff6b0 commit 3f359d9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/libcore/iter/traits.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -386,10 +386,11 @@ pub trait Extend<A> {
386386
/// ```
387387
#[stable(feature = "rust1", since = "1.0.0")]
388388
pub trait DoubleEndedIterator: Iterator {
389-
/// An iterator able to yield elements from both ends.
389+
/// Removes and returns an element from the end of the iterator.
390390
///
391-
/// As this is the only method for this trait, the [trait-level] docs
392-
/// contain more details.
391+
/// Returns `None` when there are no more elements.
392+
///
393+
/// The [trait-level] docs contain more details.
393394
///
394395
/// [trait-level]: trait.DoubleEndedIterator.html
395396
///

0 commit comments

Comments
 (0)