about summary refs log tree commit diff
path: root/library/alloc/src/collections/btree/set_val.rs
AgeCommit message (Collapse)AuthorLines
2025-04-09intra-doc linkBoxy-1/+1
2024-11-13btree: simplify the backdoor between set and mapJosh Stone-2/+2
The internal `btree::Recover` trait acted as a private API between `BTreeSet` and `BTreeMap`, but we can use `pub(_)` restrictions these days, and some of the methods don't need special handling anymore. * `BTreeSet::get` can use `BTreeMap::get_key_value` * `BTreeSet::take` can use `BTreeMap::remove_entry` * `BTreeSet::replace` does need help, but this now uses a `pub(super)` method on `BTreeMap` instead of the trait. * `btree::Recover` is now removed.
2022-06-23Fix BTreeSet's range API panic message, documenttnballo-0/+29