about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-23 01:06:57 -0800
committerbors <bors@rust-lang.org>2014-02-23 01:06:57 -0800
commitc250c16f81f82a21295e421be7bd47c91d64cb2a (patch)
tree78090dacffcdda10a36a6e538f3f73d3d3a6e35c /src/libsyntax/parse
parentedf351e9f7d17777b1385093bfa7b6654e662d44 (diff)
parent2a14e084cfd8cf9a9149d0b7c6329b0dad0521d0 (diff)
downloadrust-c250c16f81f82a21295e421be7bd47c91d64cb2a.tar.gz
rust-c250c16f81f82a21295e421be7bd47c91d64cb2a.zip
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/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 30e77c8c1cb..fed2034cd26 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -79,7 +79,7 @@ use opt_vec;
 use opt_vec::OptVec;
 
 use std::cell::Cell;
-use std::hashmap::HashSet;
+use collections::HashSet;
 use std::kinds::marker;
 use std::mem::replace;
 use std::vec;