Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hybrid-array: AssociatedArraySize trait #1006

Merged
merged 1 commit into from
Dec 30, 2023

Conversation

tarcieri
Copy link
Member

Adds a type for associating a typenum-based size with a given array type, which can be either [T; N] or Array<T, U>.

This subsumes the previous IntoArray trait, which can be replaced by a simple Into bound instead.

Adds a type for associating a `typenum`-based size with a given array
type, which can be either `[T; N]` or `Array<T, U>`.

This subsumes the previous `IntoArray` trait, which can be replaced by a
simple `Into` bound instead.
@tarcieri tarcieri merged commit 63ba0eb into master Dec 30, 2023
11 checks passed
@tarcieri tarcieri deleted the hybrid-array/associated-array-size-trait branch December 30, 2023 23:05
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