Skip to content

Conversation

LeWimbes
Copy link

@LeWimbes LeWimbes commented Aug 9, 2025

Const Generics hit stable with Rust 1.51.0.

Since then it's been possible to implement traits for arrays of any length, as it has also been done in the std lib (e.g. impl<T, const N: usize> Ord for [T; N].

This PR thus removes the array macros and implements the Packable and Unpackable traits directly for any length arrays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant