Skip to content

hybrid-array: impl IntoIterator for all ArraySizes#956

Merged
tarcieri merged 1 commit intomasterfrom
hybrid-array/impl-intoiterator-for-all-array-sizes
Oct 8, 2023
Merged

hybrid-array: impl IntoIterator for all ArraySizes#956
tarcieri merged 1 commit intomasterfrom
hybrid-array/impl-intoiterator-for-all-array-sizes

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
@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