rust/library/alloc
Dylan DPC 6c13556183
Rollup merge of #82726 - ssomers:btree_node_rearange, r=Mark-Simulacrum
BTree: move blocks around in node.rs

Without changing any names or implementation, reorder some members:
- Move down the ones defined long ago on the demised `struct Root`, to below the definition of their current host `struct NodeRef`.
- Move up some defined on `struct NodeRef` that are interspersed with those defined on `struct Handle`.
- Move up the `correct_…` methods squeezed between the two flavours of `push`.
- Move the unchecked static downcasts (`cast_to_…`) after the upcasts (`forget_`) and the (weirdly named) dynamic downcasts (`force`).
r? ````@Mark-Simulacrum````
2021-04-04 19:20:00 +02:00
..
benches Try to make Vec benchmarks only run code they are benchmarking 2021-03-25 00:14:00 -04:00
src Rollup merge of #82726 - ssomers:btree_node_rearange, r=Mark-Simulacrum 2021-04-04 19:20:00 +02:00
tests Rollup merge of #81619 - SkiFire13:resultshunt-inplace, r=the8472 2021-04-04 19:19:59 +02:00
Cargo.toml Add license metadata for std dependencies 2021-02-21 13:36:18 -05:00