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: use GATs for ArraySize #893

Merged
merged 1 commit into from
May 3, 2023
Merged

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented May 3, 2023

It's quite annoying to have to add a generic parameter to ArraySize, particularly when notating it in bounds.

GATs provide a solution to this problem, moving the type parameter to the associated type so bounds are simply N: ArraySize.

It's quite annoying to have to add a generic parameter to `ArraySize`,
particularly when notating it in bounds.

GATs provide a solution to this problem, moving the type parameter to
the associated type so bounds are simply `N: ArraySize`.
@tarcieri tarcieri merged commit 1c51db5 into master May 3, 2023
99 checks passed
@tarcieri tarcieri deleted the hybrid-array/gat-array-size branch May 3, 2023 19:39
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.

None yet

1 participant