about summary refs log tree commit diff
path: root/src/libcollections/enum_set.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-17 19:49:22 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-17 22:04:31 -0800
commit47f91a9484eceef10536d4caac6ef578cd254567 (patch)
treef966ba8492d954fbff298bc8f9f6be9cda3a2449 /src/libcollections/enum_set.rs
parent665ea963d3c29ef7670662707f2f2307f000efa3 (diff)
Register new snapshots
Diffstat (limited to 'src/libcollections/enum_set.rs')
-rw-r--r--src/libcollections/enum_set.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/libcollections/enum_set.rs b/src/libcollections/enum_set.rs
index ec30933bd2e..d5403ca5d9b 100644
--- a/src/libcollections/enum_set.rs
+++ b/src/libcollections/enum_set.rs
@@ -257,17 +257,6 @@ impl<E:CLike> FromIterator<E> for EnumSet<E> {
     }
 }
 
-// NOTE(stage0): remove impl after a snapshot
-#[cfg(stage0)]
-impl<'a, E> IntoIterator for &'a EnumSet<E> where E: CLike {
-    type IntoIter = Iter<E>;
-
-    fn into_iter(self) -> Iter<E> {
-        self.iter()
-    }
-}
-
-#[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;