diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-08-27 14:22:25 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-08-27 17:22:18 -0700 |
| commit | 161a82e433fbfbc0bd57a4d951ac37656a8a30f6 (patch) | |
| tree | c59e3d6a32f471299a8fde09506ebf6cff8f44db /src/libsyntax/util | |
| parent | 4ba9fdd3627869f04ee39d6146023df822e0936e (diff) | |
| download | rust-161a82e433fbfbc0bd57a4d951ac37656a8a30f6.tar.gz rust-161a82e433fbfbc0bd57a4d951ac37656a8a30f6.zip | |
Camel case various core constructors
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 9f738fdc6a2..73459bbaf5f 100644 --- a/src/libsyntax/util/interner.rs +++ b/src/libsyntax/util/interner.rs @@ -3,7 +3,7 @@ // type, and vice versa. import std::map; import std::map::{hashmap, hashfn, eqfn}; -import dvec::{DVec, dvec}; +import dvec::DVec; type hash_interner<T: const> = {map: hashmap<T, uint>, @@ -14,7 +14,7 @@ type hash_interner<T: const> = fn mk<T: const copy>(+hasher: hashfn<T>, +eqer: eqfn<T>) -> interner<T> { let m = map::hashmap::<T, uint>(copy hasher, copy eqer); let hi: hash_interner<T> = - {map: m, vect: dvec(), hasher: hasher, eqer: eqer}; + {map: m, vect: DVec(), hasher: hasher, eqer: eqer}; return hi as interner::<T>; } |
