rust/library/alloc
Janik Rabe 2dd69aaafc Document iteration order of retain functions
For `HashSet` and `HashMap`, this simply copies the comment from
`BinaryHeap::retain`.

For `BTreeSet` and `BTreeMap`, this adds an additional guarantee that
wasn't previously documented. I think that because these data structures
are inherently ordered and other functions guarantee ordered iteration,
it makes sense to provide this guarantee for `retain` as well.
2021-07-01 22:15:13 +01:00
..
benches BTree: encapsulate LeafRange better & some debug asserts 2021-06-09 12:03:07 +02:00
src Document iteration order of retain functions 2021-07-01 22:15:13 +01:00
tests Lint for unused borrows as part of UNUSED_MUST_USE 2021-06-18 15:09:40 +08:00
Cargo.toml Add support for const operands and options to global_asm! 2021-05-13 22:31:57 +01:00