std: Mark two missing functions as #[stable]

Both `Extend::extend` and `DoubleEndedIterator::next_back` were intended to be
stable, but they mistakenly didn't have the `#[stable]` tag.
This commit is contained in:
Alex Crichton 2015-01-09 15:49:09 -08:00
parent 73a25f55ad
commit ccb1e460dc

View File

@ -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>;
}