1
Fork 0

core: Move the collections traits to libcollections

This commit moves Mutable, Map, MutableMap, Set, and MutableSet from
`core::collections` to the `collections` crate at the top-level. Additionally,
this removes the `deque` module and moves the `Deque` trait to only being
available at the top-level of the collections crate.

All functionality continues to be reexported through `std::collections`.

[breaking-change]
This commit is contained in:
Alex Crichton 2014-06-06 16:33:44 -07:00
parent 50942c7695
commit da0703973a
25 changed files with 171 additions and 154 deletions

View file

@ -144,7 +144,6 @@ pub use core::cell;
pub use core::char;
pub use core::clone;
#[cfg(not(test))] pub use core::cmp;
pub use core::collections;
pub use core::default;
pub use core::finally;
pub use core::intrinsics;