diff options
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/interner.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/util/interner.rs b/src/libsyntax/util/interner.rs index 4b13818974c..41500d6a409 100644 --- a/src/libsyntax/util/interner.rs +++ b/src/libsyntax/util/interner.rs @@ -18,7 +18,7 @@ use hashmap::linear::LinearMap; use dvec::DVec; pub struct Interner<T> { - priv mut map: LinearMap<T, uint>, + priv map: @mut LinearMap<T, uint>, priv vect: DVec<T>, } @@ -26,7 +26,7 @@ pub struct Interner<T> { pub impl<T:Eq + IterBytes + Hash + Const + Copy> Interner<T> { static fn new() -> Interner<T> { Interner { - map: LinearMap::new(), + map: @mut LinearMap::new(), vect: DVec(), } } |
