Closed miguelfrde closed 2 years ago
Besides for the error with the added test, this looks good. Is bumping the MSRV to 1.51 to support const-generics problematic?
I think bumping MSRV would be a good idea: today this crate doesn’t have a lot of usages yet, so it make sense to latch onto the newer rust while we can.
This allows to support more sizes than the predefined ones.
Some of the changes are unrelated and are were done by
cargo fmt
. If you'd like to have those come in a separate commit, happy to split them off.