diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-04-03 09:28:36 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-04-03 10:30:36 -0400 |
| commit | cc148b58ff7a4eb6861701be61396d1a685f6657 (patch) | |
| tree | 69bb3a4fc9ad6bb1a28e592a492c2720353968f1 /src/libsyntax/util | |
| parent | 44029a5bbc4812f7144ee8d0d4ee95d52aeca6cf (diff) | |
| download | rust-cc148b58ff7a4eb6861701be61396d1a685f6657.tar.gz rust-cc148b58ff7a4eb6861701be61396d1a685f6657.zip | |
rename Linear{Map,Set} => Hash{Map,Set}
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/interner.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/util/interner.rs b/src/libsyntax/util/interner.rs index dd4044036ef..4108871d008 100644 --- a/src/libsyntax/util/interner.rs +++ b/src/libsyntax/util/interner.rs @@ -13,10 +13,10 @@ // type, and vice versa. use core::prelude::*; -use core::hashmap::LinearMap; +use core::hashmap::HashMap; pub struct Interner<T> { - priv map: @mut LinearMap<T, uint>, + priv map: @mut HashMap<T, uint>, priv vect: @mut ~[T], } @@ -24,7 +24,7 @@ pub struct Interner<T> { pub impl<T:Eq + IterBytes + Hash + Const + Copy> Interner<T> { fn new() -> Interner<T> { Interner { - map: @mut LinearMap::new(), + map: @mut HashMap::new(), vect: @mut ~[], } } |
