diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs index d4aa4c99a76..849080e8a82 100644 --- a/src/libcore/iter.rs +++ b/src/libcore/iter.rs @@ -110,6 +110,7 @@ pub trait FromIterator { #[stable] pub trait Extend { /// Extend a container with the elements yielded by an arbitrary iterator + #[stable] fn extend>(&mut self, iterator: T); } @@ -965,6 +966,7 @@ impl IteratorExt for I where I: Iterator {} #[stable] pub trait DoubleEndedIterator: Iterator { /// Yield an element from the end of the range, returning `None` if the range is empty. + #[stable] fn next_back(&mut self) -> Option; }