diff options
Diffstat (limited to 'src/comp/syntax/util')
| -rw-r--r-- | src/comp/syntax/util/interner.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/comp/syntax/util/interner.rs b/src/comp/syntax/util/interner.rs index 6993eeee35e..2c1589085f2 100644 --- a/src/comp/syntax/util/interner.rs +++ b/src/comp/syntax/util/interner.rs @@ -1,9 +1,10 @@ // An "interner" is a data structure that associates values with uint tags and // allows bidirectional lookup; i.e. given a value, one can easily find the // type, and vice versa. -import std::{vec, map}; +import core::vec; +import std::map; import std::map::{hashmap, hashfn, eqfn}; -import std::option::{none, some}; +import option::{none, some}; type interner<T> = {map: hashmap<T, uint>, |
