about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-19 19:29:58 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-23 00:35:11 -0800
commit2a14e084cfd8cf9a9149d0b7c6329b0dad0521d0 (patch)
tree78090dacffcdda10a36a6e538f3f73d3d3a6e35c /src/libsyntax/parse
parentedf351e9f7d17777b1385093bfa7b6654e662d44 (diff)
downloadrust-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/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;