From f6eaaf350ea683ae8b33b4a79422ad1a10ea0987 Mon Sep 17 00:00:00 2001 From: Jeffrey Seyfried Date: Tue, 21 Feb 2017 05:05:59 +0000 Subject: Integrate `TokenStream`. --- src/libsyntax/util/rc_slice.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/libsyntax/util') 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 Deref for RcSlice { } } -impl Hash for RcSlice { - fn hash(&self, state: &mut H) { - self.deref().hash(state); - } -} - impl fmt::Debug for RcSlice { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::Debug::fmt(self.deref(), f) -- cgit 1.4.1-3-g733a5