From 6686f7aa471f162697d08a78ad4d04d3c0e9612c Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 19 Feb 2015 18:35:52 -0800 Subject: Register new snapshots --- src/liballoc/arc.rs | 7 ------- src/liballoc/boxed.rs | 8 -------- src/liballoc/rc.rs | 8 -------- 3 files changed, 23 deletions(-) (limited to 'src/liballoc') diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 934e6ab2159..cc49164ef91 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -598,13 +598,6 @@ impl Default for Arc { fn default() -> Arc { Arc::new(Default::default()) } } -#[cfg(stage0)] -impl> Hash for Arc { - fn hash(&self, state: &mut H) { - (**self).hash(state) - } -} -#[cfg(not(stage0))] #[stable(feature = "rust1", since = "1.0.0")] impl Hash for Arc { fn hash(&self, state: &mut H) { diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index a3516bd667b..ce889c79601 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -220,14 +220,6 @@ impl Ord for Box { #[stable(feature = "rust1", since = "1.0.0")] impl Eq for Box {} -#[cfg(stage0)] -impl> Hash for Box { - #[inline] - fn hash(&self, state: &mut S) { - (**self).hash(state); - } -} -#[cfg(not(stage0))] #[stable(feature = "rust1", since = "1.0.0")] impl Hash for Box { fn hash(&self, state: &mut H) { diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 9d395115431..ed7d34de7a6 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -592,14 +592,6 @@ impl Ord for Rc { } // FIXME (#18248) Make `T` `Sized?` -#[cfg(stage0)] -impl> Hash for Rc { - #[inline] - fn hash(&self, state: &mut S) { - (**self).hash(state); - } -} -#[cfg(not(stage0))] #[stable(feature = "rust1", since = "1.0.0")] impl Hash for Rc { fn hash(&self, state: &mut H) { -- cgit 1.4.1-3-g733a5