about summary refs log tree commit diff
path: root/src/liballoc/btree/set.rs
AgeCommit message (Collapse)AuthorLines
2018-06-29Move some alloc crate top-level items to a new alloc::collections moduleSimon Sapin-1153/+0
This matches std::collections
2018-03-29Move RangeArguments to {core::std}::ops and rename to RangeBoundsSimon Sapin-3/+2
These unstable items are deprecated: * The `std::collections::range::RangeArgument` reexport * The `std::collections::range` module.
2018-03-29Move alloc::Bound to {core,std}::opsSimon Sapin-1/+1
The stable reexport `std::collections::Bound` is now deprecated. Another deprecated reexport could be added in `alloc`, but that crate is unstable.
2018-03-03core: Update stability attributes for FusedIteratorUlrik Sverdrup-7/+7
2018-03-03core: Stabilize FusedIteratorUlrik Sverdrup-7/+7
FusedIterator is a marker trait that promises that the implementing iterator continues to return `None` from `.next()` once it has returned `None` once (and/or `.next_back()`, if implemented). The effects of FusedIterator are already widely available through `.fuse()`, but with stable `FusedIterator`, stable Rust users can implement this trait for their iterators when appropriate.
2018-01-20fix doctests for BTreeSet to use BTreeSet (not BTreeMap)Andrew Straw-12/+12
This fixes #47624
2018-01-05Write examples for {BTree,Hash}Set::{get,replace,take}Stjepan Glavina-0/+33
2018-01-03Remove `T: Ord` bound from `BTreeSet::{is_empty, len}`Stjepan Glavina-72/+68
2017-12-09Use Try syntax for Option in place of macros or matchMatt Brubeck-10/+4
2017-09-13Remove unneeded `loop`.Corey Farwell-8/+6
2017-06-30Revert "Stabilize RangeArgument"Steven Fackler-1/+2
This reverts commit 143206d54d7558c2326212df99efc98110904fdb.
2017-06-24Stabilize RangeArgumentSteven Fackler-2/+1
Move it and Bound to core::ops while we're at it. Closes #30877
2017-06-13Merge crate `collections` into `alloc`Murarth-0/+1133