rust/library/alloc
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
..
benches Optimized vec::IntoIter::next_chunk impl 2022-07-26 20:31:43 +02:00
src Rollup merge of #95005 - ssomers:btree_static_assert, r=thomcc 2022-08-26 14:08:43 +02:00
tests Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcm 2022-08-22 20:34:15 +05:30
Cargo.toml