diff options
| -rw-r--r-- | src/libcore/iter.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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<A> { #[stable] pub trait Extend<A> { /// Extend a container with the elements yielded by an arbitrary iterator + #[stable] fn extend<T: Iterator<Item=A>>(&mut self, iterator: T); } @@ -965,6 +966,7 @@ impl<I> 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<Self::Item>; } |
