rust/library/alloc/src/collections
Guillaume Gomez e3148dc7c4
Rollup merge of #95005 - ssomers:btree_static_assert, r=thomcc
BTree: evaluate static type-related check at compile time

`assert`s like the ones replaced here would only go off when you run the right test cases, if the code were ever incorrectly changed such that rhey would trigger. But [inspired on a nice forum question](https://users.rust-lang.org/t/compile-time-const-generic-parameter-check/69202), they can be checked at compile time.
2022-08-26 14:08:43 +02:00
..
binary_heap Use Box::new() instead of box syntax in alloc tests 2022-05-29 00:41:14 +02:00
btree Rollup merge of #95005 - ssomers:btree_static_assert, r=thomcc 2022-08-26 14:08:43 +02: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 #100331 - lo48576:try-reserve-preserve-on-failure, r=thomcc 2022-08-22 20:34:12 +05:30
binary_heap.rs Guarantee try_reserve preserves the contents on error 2022-08-10 01:51:38 +09:00
linked_list.rs Use Box::new() instead of box syntax in alloc tests 2022-05-29 00:41:14 +02:00
mod.rs Move error trait into core 2022-08-22 13:28:25 -07:00