diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-19 19:29:58 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-23 00:35:11 -0800 |
| commit | 2a14e084cfd8cf9a9149d0b7c6329b0dad0521d0 (patch) | |
| tree | 78090dacffcdda10a36a6e538f3f73d3d3a6e35c /src/libsyntax/util | |
| parent | edf351e9f7d17777b1385093bfa7b6654e662d44 (diff) | |
| download | rust-2a14e084cfd8cf9a9149d0b7c6329b0dad0521d0.tar.gz rust-2a14e084cfd8cf9a9149d0b7c6329b0dad0521d0.zip | |
Move std::{trie, hashmap} to libcollections
These two containers are indeed collections, so their place is in libcollections, not in libstd. There will always be a hash map as part of the standard distribution of Rust, but by moving it out of the standard library it makes libstd that much more portable to more platforms and environments. This conveniently also removes the stuttering of 'std::hashmap::HashMap', although 'collections::HashMap' is only one character shorter.
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/interner.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/interner.rs b/src/libsyntax/util/interner.rs index 1c801f7d970..44b366c9890 100644 --- a/src/libsyntax/util/interner.rs +++ b/src/libsyntax/util/interner.rs @@ -14,11 +14,11 @@ use ast::Name; +use collections::HashMap; use std::cast; use std::cell::RefCell; use std::cmp::Equiv; use std::hash_old::Hash; -use std::hashmap::HashMap; use std::rc::Rc; pub struct Interner<T> { |
