We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee771bf + b4ff6b0 commit 3f359d9Copy full SHA for 3f359d9
src/libcore/iter/traits.rs
@@ -386,10 +386,11 @@ pub trait Extend<A> {
386
/// ```
387
#[stable(feature = "rust1", since = "1.0.0")]
388
pub trait DoubleEndedIterator: Iterator {
389
- /// An iterator able to yield elements from both ends.
+ /// Removes and returns an element from the end of the iterator.
390
///
391
- /// As this is the only method for this trait, the [trait-level] docs
392
- /// contain more details.
+ /// Returns `None` when there are no more elements.
+ ///
393
+ /// The [trait-level] docs contain more details.
394
395
/// [trait-level]: trait.DoubleEndedIterator.html
396
0 commit comments