]> git.lizzy.rs Git - rust.git/blobdiff - src/libcollections/vec.rs
Register new snapshots.
[rust.git] / src / libcollections / vec.rs
index 73afefc5a03317c5281a52c8a25a9861f700d031..38658a17e9b4dc71dd8a8e2b1352ccbc2164b9f3 100644 (file)
@@ -1185,14 +1185,6 @@ fn clone_from(&mut self, other: &Vec<T>) {
     }
 }
 
-#[cfg(stage0)]
-impl<S: hash::Writer, T: Hash<S>> Hash<S> for Vec<T> {
-    #[inline]
-    fn hash(&self, state: &mut S) {
-        self.as_slice().hash(state);
-    }
-}
-#[cfg(not(stage0))]
 impl<S: hash::Writer + hash::Hasher, T: Hash<S>> Hash<S> for Vec<T> {
     #[inline]
     fn hash(&self, state: &mut S) {