mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
e3148dc7c4
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. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |