about summary refs log tree commit diff
path: root/library/alloc/src/collections/btree/remove.rs
AgeCommit message (Collapse)AuthorLines
2025-01-20alloc: add `#![warn(unreachable_pub)]`Urgau-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+5
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2022-06-16btree: avoid forcing the allocator to be a referenceRalf Jung-8/+8
2022-06-14BTreeMap: Add alloc paramJacob Hughes-9/+13
2021-02-09BTreeMap: gather and decompose reusable tree fixing functionsStein Somers-60/+3
2021-01-29btree: use Option's unwrap_unchecked()Miguel Ojeda-3/+2
Now that https://github.com/rust-lang/rust/issues/81383 is available, start using it. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2021-01-18BTreeMap: prefer bulk_steal functions over specialized onesStein Somers-4/+4
2021-01-16BTreeMap: offer merge in variants with more clarityStein Somers-8/+6
2020-12-13Auto merge of #79376 - ssomers:btree_choose_parent_kv, r=Mark-Simulacrumbors-6/+6
BTreeMap: clarify comments and panics around choose_parent_kv Fixes a lie in recent code: `unreachable!("empty non-root node")` should shout "empty internal node", but it might as well be good and keep quiet r? `@Mark-Simulacrum`
2020-12-13BTreeMap: capture a recurring use pattern as replace_kvStein Somers-4/+2
2020-12-12BTreeMap: clarify comments and panics surrounding choose_parent_kvStein Somers-6/+6
2020-11-28BTreeMap: try to enhance various comments & local identifiersStein Somers-1/+1
2020-11-12BTreeMap: avoid aliasing while handling underfull nodesStein Somers-105/+125
2020-10-24BTreeMap: stop mistaking node::MIN_LEN as a node level constraintStein Somers-2/+3
2020-10-18BTreeMap: split off most code of remove and split_offStein Somers-0/+132