std: Fix missing stability on iter::Cloned

The method was stabilized but the structure was forgotten to be stabilized.

Closes #25480
This commit is contained in:
Alex Crichton 2015-05-16 11:27:08 -07:00
parent 5e535eae5c
commit f894417e6b

View File

@ -1370,7 +1370,7 @@ pub fn into_option(self) -> Option<(T,T)> {
}
/// An iterator that clones the elements of an underlying iterator
#[unstable(feature = "core", reason = "recent addition")]
#[stable(feature = "iter_cloned", since = "1.1.0")]
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
#[derive(Clone)]
pub struct Cloned<I> {