Hacker News new | past | comments | ask | show | jobs | submit login

Not OP, but my use case is serializing an array. Implementations were provided by the library for serializing arrays of `T` for lengths 0 through 31. I had an array of `[T; 32]`, so i couldn't serialize my array.

With const generics, the library provided implementations for all `[T; N]`, so my code worked out of the box with no headache.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: