]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/boxed.rs
Register new snapshots.
[rust.git] / src / liballoc / boxed.rs
index 458eb3dce57a80f5bcf48fa06e601f6ceaa79181..8ad0c152dc8ed61a5758a35148f46556f161bf6d 100644 (file)
@@ -117,14 +117,6 @@ fn cmp(&self, other: &Box<T>) -> Ordering {
 #[stable]
 impl<T: ?Sized + Eq> Eq for Box<T> {}
 
-#[cfg(stage0)]
-impl<S: hash::Writer, T: ?Sized + Hash<S>> Hash<S> for Box<T> {
-    #[inline]
-    fn hash(&self, state: &mut S) {
-        (**self).hash(state);
-    }
-}
-#[cfg(not(stage0))]
 impl<S: hash::Hasher, T: ?Sized + Hash<S>> Hash<S> for Box<T> {
     #[inline]
     fn hash(&self, state: &mut S) {