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: impl IntoIterator for all ArraySizes #956

Merged

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Oct 8, 2023

Uses an IntoIterator bound on ArraySize::ArrayType and forwards the trait invocation to the inner array.

Uses an `IntoIterator` bound on `ArraySize::ArrayType` and forwards the
trait invocation to the inner array.
@tarcieri tarcieri force-pushed the hybrid-array/impl-intoiterator-for-all-array-sizes branch from 59aa6c2 to 71afd05 Compare October 8, 2023 16:28
@tarcieri tarcieri merged commit 71ec948 into master Oct 8, 2023
11 checks passed
@tarcieri tarcieri deleted the hybrid-array/impl-intoiterator-for-all-array-sizes branch October 8, 2023 16:37
tarcieri added a commit that referenced this pull request Oct 8, 2023
Switches from a special case impl per size to one which is generic over
all array sizes, similar to what #956 did for the owning implementation
of `IntoIterator`.
tarcieri added a commit that referenced this pull request Oct 8, 2023
…957)

Switches from a special case impl per size to one which is generic over
all array sizes, similar to what #956 did for the owning implementation
of `IntoIterator`.
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