rust/library/alloc
bors 7996182bc1 Auto merge of #74777 - ssomers:btree_cleanup_7, r=Mark-Simulacrum
Stop BTreeMap casts from reborrowing

Down in btree/node.rs, the interface and use of `cast_unchecked` look a bit shady. It's really just there for inverting `forget_type` which does not borrow. By borrowing we can't write the same `cast_unchecked` in the same way at the Handle level.

No change in undefined behaviour or performance.
2020-08-14 12:00:59 +00:00
..
benches More benchmarks of BTreeMap mutation 2020-08-01 20:23:13 +02:00
src Auto merge of #74777 - ssomers:btree_cleanup_7, r=Mark-Simulacrum 2020-08-14 12:00:59 +00:00
tests Put panic code path from copy_from_slice into cold function 2020-08-12 21:12:21 +02:00
Cargo.toml