2 ms·
Unfortunately, rust does not have numeric types outside the special case baked in arrays, so it cannot do that yet afaik. There is a ticket for it, but it needs
by kazagistar 7y ago
Unfortunately, rust does not have numeric types outside the special case baked in arrays, so it cannot do that yet afaik. There is a ticket for it, but it needs work.
- steveklabnik 7y agoYou can sorta do it kinda today: https://crates.io/crates/typenum https://crates.io/crates/typenum But it will be much nicer and better once const generics lands, it's true.
- Ar-Curunir 7y agoYou can do it in nightly already.