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/libterm/lib.rs | |
| 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/libterm/lib.rs')
| -rw-r--r-- | src/libterm/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs index 1efbd461da8..db9f5d3da5c 100644 --- a/src/libterm/lib.rs +++ b/src/libterm/lib.rs @@ -23,6 +23,8 @@ #[deny(non_camel_case_types)]; #[allow(missing_doc)]; +extern crate collections; + use std::os; use std::io; use terminfo::TermInfo; |
