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:
@@ -11,7 +11,7 @@
|
||||
//! # The Rust standard library
|
||||
//!
|
||||
//! The Rust standard library is a group of interrelated modules defining
|
||||
//! the core language traits, operations on built-in data types, collections,
|
||||
//! the core language traits, operations on built-in data types,
|
||||
//! platform abstractions, the task scheduler, runtime support for language
|
||||
//! features and other common functionality.
|
||||
//!
|
||||
@@ -68,9 +68,9 @@
|
||||
// When testing libstd, bring in libuv as the I/O backend so tests can print
|
||||
// things and all of the std::io tests have an I/O interface to run on top
|
||||
// of
|
||||
#[cfg(test)] extern crate rustuv = "rustuv";
|
||||
#[cfg(test)] extern crate native = "native";
|
||||
#[cfg(test)] extern crate green = "green";
|
||||
#[cfg(test)] extern crate rustuv;
|
||||
#[cfg(test)] extern crate native;
|
||||
#[cfg(test)] extern crate green;
|
||||
|
||||
// Make extra accessible for benchmarking
|
||||
#[cfg(test)] extern crate extra = "extra";
|
||||
@@ -156,9 +156,7 @@ pub mod any;
|
||||
|
||||
pub mod option;
|
||||
pub mod result;
|
||||
pub mod hashmap;
|
||||
pub mod cell;
|
||||
pub mod trie;
|
||||
|
||||
|
||||
/* Tasks and communication */
|
||||
|
||||
Reference in New Issue
Block a user