Skip to content

Commit

Permalink
std: Fix missing stability on iter::Cloned
Browse files Browse the repository at this point in the history
The method was stabilized but the structure was forgotten to be stabilized.

Closes rust-lang#25480
  • Loading branch information
alexcrichton committed May 16, 2015
1 parent 5e535ea commit f894417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ impl<T: Clone> MinMaxResult<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> {
Expand Down

0 comments on commit f894417

Please sign in to comment.