diff options
| author | bors <bors@rust-lang.org> | 2014-02-23 01:06:57 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-02-23 01:06:57 -0800 |
| commit | c250c16f81f82a21295e421be7bd47c91d64cb2a (patch) | |
| tree | 78090dacffcdda10a36a6e538f3f73d3d3a6e35c /src/libsyntax/ext/format.rs | |
| parent | edf351e9f7d17777b1385093bfa7b6654e662d44 (diff) | |
| parent | 2a14e084cfd8cf9a9149d0b7c6329b0dad0521d0 (diff) | |
auto merge of #12428 : alexcrichton/rust/move-hashmap, r=brson
These two containers are indeed collections, so there 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/ext/format.rs')
| -rw-r--r-- | src/libsyntax/ext/format.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/ext/format.rs b/src/libsyntax/ext/format.rs index 16a12661e9d..1b73d42c79a 100644 --- a/src/libsyntax/ext/format.rs +++ b/src/libsyntax/ext/format.rs @@ -18,8 +18,9 @@ use opt_vec; use parse::token::InternedString; use parse::token; use rsparse = parse; + use std::fmt::parse; -use std::hashmap::{HashMap, HashSet}; +use collections::{HashMap, HashSet}; use std::vec; #[deriving(Eq)] |
