diff options
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/interner.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libsyntax/util/interner.rs b/src/libsyntax/util/interner.rs index e290932a303..362d08a5748 100644 --- a/src/libsyntax/util/interner.rs +++ b/src/libsyntax/util/interner.rs @@ -23,16 +23,13 @@ use std::hash::Hash; use std::rc::Rc; use std::vec_ng::Vec; -#[cfg(stage0)] -use std::kinds::Share; - pub struct Interner<T> { priv map: RefCell<HashMap<T, Name>>, priv vect: RefCell<Vec<T> >, } // when traits can extend traits, we should extend index<Name,T> to get [] -impl<T: Eq + Hash + Share + Clone + 'static> Interner<T> { +impl<T: Eq + Hash + Clone + 'static> Interner<T> { pub fn new() -> Interner<T> { Interner { map: RefCell::new(HashMap::new()), |
