rust/library/alloc/src/collections
bors ff86b27e7b Auto merge of #98178 - RalfJung:btree-alloc, r=thomcc
btree: avoid forcing the allocator to be a reference

The previous code forces the actual allocator used to be some `&A`. This generalizes the code to allow any `A: Copy`. If people truly want to use a reference, they can use `&A` themselves.

Fixes https://github.com/rust-lang/rust/issues/98176
2022-06-18 05:12:40 +00:00
..
binary_heap Use Box::new() instead of box syntax in alloc tests 2022-05-29 00:41:14 +02:00
btree comments explaining why we have and don't have ManuallyDrop 2022-06-17 16:23:51 -07:00
linked_list Use Box::new() instead of box syntax in alloc tests 2022-05-29 00:41:14 +02:00
vec_deque Rollup merge of #89685 - DeveloperC286:iter_fields_to_private, r=oli-obk 2022-05-30 15:57:27 -07:00
binary_heap.rs std: Stabilize feature try_reserve_2 2022-06-16 09:30:34 +08:00
linked_list.rs Use Box::new() instead of box syntax in alloc tests 2022-05-29 00:41:14 +02:00
mod.rs Clarify explicitly that BTree{Map,Set} are ordered. 2022-01-09 18:01:44 -05:00