diff options
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/rc_slice.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libsyntax/util/rc_slice.rs b/src/libsyntax/util/rc_slice.rs index cb3becf83f6..195fb23f9d8 100644 --- a/src/libsyntax/util/rc_slice.rs +++ b/src/libsyntax/util/rc_slice.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use std::hash::{self, Hash}; use std::fmt; use std::ops::Deref; use std::rc::Rc; @@ -37,12 +36,6 @@ impl<T> Deref for RcSlice<T> { } } -impl<T: Hash> Hash for RcSlice<T> { - fn hash<H: hash::Hasher>(&self, state: &mut H) { - self.deref().hash(state); - } -} - impl<T: fmt::Debug> fmt::Debug for RcSlice<T> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::Debug::fmt(self.deref(), f) |
