Skip to content

Commit

Permalink
document DoubleEndedIterator::next_back
Browse files Browse the repository at this point in the history
fixes #34726
  • Loading branch information
durka authored Jul 9, 2016
1 parent 5e18b4b commit b4ff6b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/libcore/iter/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,11 @@ pub trait Extend<A> {
/// ```
#[stable(feature = "rust1", since = "1.0.0")]
pub trait DoubleEndedIterator: Iterator {
/// An iterator able to yield elements from both ends.
/// Removes and returns an element from the end of the iterator.
///
/// As this is the only method for this trait, the [trait-level] docs
/// contain more details.
/// Returns `None` when there are no more elements.
///
/// The [trait-level] docs contain more details.
///
/// [trait-level]: trait.DoubleEndedIterator.html
///
Expand Down

0 comments on commit b4ff6b0

Please sign in to comment.