about summary refs log tree commit diff
path: root/src/libcore/collections.rs
AgeCommit message (Collapse)AuthorLines
2014-11-01collections: Remove all collections traitsAlex Crichton-38/+0
As part of the collections reform RFC, this commit removes all collections traits in favor of inherent methods on collections themselves. All methods should continue to be available on all collections. This is a breaking change with all of the collections traits being removed and no longer being in the prelude. In order to update old code you should move the trait implementations to inherent implementations directly on the type itself. Note that some traits had default methods which will also need to be implemented to maintain backwards compatibility. [breaking-change] cc #18424
2014-07-19Document some trait methods.Jonas Hietala-0/+14
2014-06-09core: Move the collections traits to libcollectionsAlex Crichton-85/+1
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]
2014-06-08core: Rename `container` mod to `collections`. Closes #12543Brian Anderson-0/+108
Also renames the `Container` trait to `Collection`. [breaking-change]