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/libcore/array.rs | |
| parent | 665ea963d3c29ef7670662707f2f2307f000efa3 (diff) | |
| download | rust-47f91a9484eceef10536d4caac6ef578cd254567.tar.gz rust-47f91a9484eceef10536d4caac6ef578cd254567.zip | |
Register new snapshots
Diffstat (limited to 'src/libcore/array.rs')
| -rw-r--r-- | src/libcore/array.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs index 886893e647e..838ca4e478b 100644 --- a/src/libcore/array.rs +++ b/src/libcore/array.rs @@ -48,17 +48,6 @@ macro_rules! array_impls { } } - // NOTE(stage0): remove impl after a snapshot - #[cfg(stage0)] - impl<'a, T> IntoIterator for &'a [T; $N] { - 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 [T; $N] { type Item = &'a T; @@ -69,17 +58,6 @@ macro_rules! array_impls { } } - // NOTE(stage0): remove impl after a snapshot - #[cfg(stage0)] - impl<'a, T> IntoIterator for &'a mut [T; $N] { - type IntoIter = IterMut<'a, T>; - - fn into_iter(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 [T; $N] { type Item = &'a mut T; |
