diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-17 19:49:22 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-17 22:04:31 -0800 |
| commit | 47f91a9484eceef10536d4caac6ef578cd254567 (patch) | |
| tree | f966ba8492d954fbff298bc8f9f6be9cda3a2449 /src/libcollections/vec_map.rs | |
| parent | 665ea963d3c29ef7670662707f2f2307f000efa3 (diff) | |
| download | rust-47f91a9484eceef10536d4caac6ef578cd254567.tar.gz rust-47f91a9484eceef10536d4caac6ef578cd254567.zip | |
Register new snapshots
Diffstat (limited to 'src/libcollections/vec_map.rs')
| -rw-r--r-- | src/libcollections/vec_map.rs | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/libcollections/vec_map.rs b/src/libcollections/vec_map.rs index 7a2194f8110..82ccfd0614f 100644 --- a/src/libcollections/vec_map.rs +++ b/src/libcollections/vec_map.rs @@ -668,17 +668,6 @@ impl<V> FromIterator<(usize, V)> for VecMap<V> { } } -// NOTE(stage0): remove impl after a snapshot -#[cfg(stage0)] -impl<T> IntoIterator for VecMap<T> { - type IntoIter = IntoIter<T>; - - fn into_iter(self) -> IntoIter<T> { - self.into_iter() - } -} - -#[cfg(not(stage0))] // NOTE(stage0): remove cfg after a snapshot #[stable(feature = "rust1", since = "1.0.0")] impl<T> IntoIterator for VecMap<T> { type Item = (usize, T); @@ -689,17 +678,6 @@ impl<T> IntoIterator for VecMap<T> { } } -// NOTE(stage0): remove impl after a snapshot -#[cfg(stage0)] -impl<'a, T> IntoIterator for &'a VecMap<T> { - type IntoIter = Iter<'a, T>; - - fn into_iter(self) -> Iter<'a, T> { - self.iter() - } -} - -#[cfg(not(stage0))] // NOTE(stage0): remove cfg after a snapshot #[stable(feature = "rust1", since = "1.0.0")] impl<'a, T> IntoIterator for &'a VecMap<T> { type Item = (usize, &'a T); @@ -710,17 +688,6 @@ impl<'a, T> IntoIterator for &'a VecMap<T> { } } -// NOTE(stage0): remove impl after a snapshot -#[cfg(stage0)] -impl<'a, T> IntoIterator for &'a mut VecMap<T> { - type IntoIter = IterMut<'a, T>; - - fn into_iter(mut self) -> IterMut<'a, T> { - self.iter_mut() - } -} - -#[cfg(not(stage0))] // NOTE(stage0): remove cfg after a snapshot #[stable(feature = "rust1", since = "1.0.0")] impl<'a, T> IntoIterator for &'a mut VecMap<T> { type Item = (usize, &'a mut T); |
