diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-17 10:06:24 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-17 10:06:24 -0800 |
| commit | cc687869ab5f39816109625ba8d1787a25ff4abf (patch) | |
| tree | ae9dce47a5bd7c9ee54468875da2db680001a170 /src/libcollections/enum_set.rs | |
| parent | f1bb6c2f46f08c1d7b6d695f5b3cf93142cb8860 (diff) | |
| download | rust-cc687869ab5f39816109625ba8d1787a25ff4abf.tar.gz rust-cc687869ab5f39816109625ba8d1787a25ff4abf.zip | |
std: Stabilize the IntoIterator trait
Now that the necessary associated types exist for the `IntoIterator` trait this commit stabilizes the trait as-is as well as all existing implementations.
Diffstat (limited to 'src/libcollections/enum_set.rs')
| -rw-r--r-- | src/libcollections/enum_set.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcollections/enum_set.rs b/src/libcollections/enum_set.rs index 5c37be188fe..ec30933bd2e 100644 --- a/src/libcollections/enum_set.rs +++ b/src/libcollections/enum_set.rs @@ -268,6 +268,7 @@ impl<'a, E> IntoIterator for &'a EnumSet<E> where E: CLike { } #[cfg(not(stage0))] // NOTE(stage0): remove cfg after a snapshot +#[stable(feature = "rust1", since = "1.0.0")] impl<'a, E> IntoIterator for &'a EnumSet<E> where E: CLike { type Item = E; type IntoIter = Iter<E>; |
