diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-31 15:58:58 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-31 15:58:58 -0700 |
| commit | 30283d45bb76f7300a0c99ecd719b0c649c8429a (patch) | |
| tree | 2a45ec35058525ca1a97fdc7f9832eb84052b74b /src/libcore | |
| parent | a37311d486d5e71b2f2d1290c9f9228c4f6ead79 (diff) | |
| parent | b9ab5fe7c29d0675ae03c87f1454fb52b36c18b4 (diff) | |
| download | rust-30283d45bb76f7300a0c99ecd719b0c649c8429a.tar.gz rust-30283d45bb76f7300a0c99ecd719b0c649c8429a.zip | |
rollup merge of #23908: aturon/stab-more-stragglers
* The `io::Seek` trait.
* The `Iterator::{partition, unsip}` methods.
* The `Vec::into_boxed_slice` method.
* The `LinkedList::append` method.
* The `{or_insert, or_insert_with` methods in the `Entry` APIs.
r? @alexcrichton
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/iter.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs index 1328b1a3ba9..775a46f6d92 100644 --- a/src/libcore/iter.rs +++ b/src/libcore/iter.rs @@ -555,8 +555,7 @@ pub trait Iterator { /// assert_eq!(even, [2, 4]); /// assert_eq!(odd, [1, 3]); /// ``` - #[unstable(feature = "core", - reason = "recently added as part of collections reform")] + #[stable(feature = "rust1", since = "1.0.0")] fn partition<B, F>(self, mut f: F) -> (B, B) where Self: Sized, B: Default + Extend<Self::Item>, @@ -947,7 +946,7 @@ pub trait Iterator { /// assert_eq!([1, 3], left); /// assert_eq!([2, 4], right); /// ``` - #[unstable(feature = "core", reason = "recent addition")] + #[stable(feature = "rust1", since = "1.0.0")] fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB) where FromA: Default + Extend<A>, FromB: Default + Extend<B>, |
