summary refs log tree commit diff
path: root/src/comp/syntax/util
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-15 16:38:23 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-16 10:36:19 -0700
commitf05a91a0dca0bcbb9d9e20584923803df827e35b (patch)
treef0e871d856829a09fa3408c7354e0dcbc059f4d9 /src/comp/syntax/util
parent38c2363c459b481f40392f78b4db843172961fd4 (diff)
Rename std::ivec to std::vec
Diffstat (limited to 'src/comp/syntax/util')
-rw-r--r--src/comp/syntax/util/interner.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/syntax/util/interner.rs b/src/comp/syntax/util/interner.rs
index 7f95d0ef0e7..3dbda76f5d9 100644
--- a/src/comp/syntax/util/interner.rs
+++ b/src/comp/syntax/util/interner.rs
@@ -1,7 +1,7 @@
 // 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::ivec;
+import std::vec;
 import std::map;
 import std::map::hashmap;
 import std::map::hashfn;
@@ -25,7 +25,7 @@ fn intern[@T](itr: &interner[T], val: &T) -> uint {
     alt itr.map.find(val) {
       some(idx) { ret idx; }
       none. {
-        let new_idx = ivec::len[T](itr.vect);
+        let new_idx = vec::len[T](itr.vect);
         itr.map.insert(val, new_idx);
         itr.vect += ~[val];
         ret new_idx;
@@ -35,5 +35,5 @@ fn intern[@T](itr: &interner[T], val: &T) -> uint {
 
 fn get[T](itr: &interner[T], idx: uint) -> T { ret itr.vect.(idx); }
 
-fn len[T](itr : &interner[T]) -> uint { ret ivec::len(itr.vect); }
+fn len[T](itr : &interner[T]) -> uint { ret vec::len(itr.vect); }