]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/arc.rs
Auto merge of #22573 - nwin:impl-debug-rwlock-weak, r=Manishearth
[rust.git] / src / liballoc / arc.rs
index 8cd27125646c82739d8cf1b2fe5518dcf74c52bc..88a3752c88a1d6774b8b288a2a12f2af0e566e61 100644 (file)
@@ -605,13 +605,6 @@ impl<T: Default + Sync + Send> Default for Arc<T> {
     fn default() -> Arc<T> { Arc::new(Default::default()) }
 }
 
-#[cfg(stage0)]
-impl<H: Hasher, T: Hash<H>> Hash<H> for Arc<T> {
-    fn hash(&self, state: &mut H) {
-        (**self).hash(state)
-    }
-}
-#[cfg(not(stage0))]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T: Hash> Hash for Arc<T> {
     fn hash<H: Hasher>(&self, state: &mut H) {