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.
This commit is contained in:
Alex Crichton 2014-02-19 19:29:58 -08:00
parent edf351e9f7
commit 2a14e084cf
109 changed files with 448 additions and 436 deletions

View file

@ -12,7 +12,7 @@ use middle::cfg::*;
use middle::graph;
use middle::typeck;
use middle::ty;
use std::hashmap::HashMap;
use collections::HashMap;
use syntax::ast;
use syntax::ast_util;
use syntax::opt_vec;