3 ms·
> If you'd like to learn more about const generics you can also check out the "Const Generics MVP Hits Beta" blog post for more information about the feature a
by wyldfire 6y ago
> If you'd like to learn more about const generics you can also check out the "Const Generics MVP Hits Beta" blog post for more information about the feature and its current restrictions.
The article links to more details in that post [1], that's what the citation was from, sorry.
I thought it was conspicuous that they had '32' in the example because I remembered it as a limitation before.
No, arrays were not limited in length but IIRC generic types weren't able to make an array size generic across arbitrary counts.
[1] https://blog.rust-lang.org/2021/02/26/const-generics-mvp-beta.html https://blog.rust-lang.org/2021/02/26/const-generics-mvp-bet...