Skip to content

hybrid-array: impl IntoIterator for all ArraySizes - #956

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

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

Conversation

@tarcieri

Copy link
Copy Markdown
Member

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
tarcieriforce-pushed the hybrid-array/impl-intoiterator-for-all-array-sizes branch from 59aa6c2 to 71afd05CompareOctober 8, 2023 16:28
@tarcieri
tarcieri merged commit 71ec948 into masterOct 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`.
@tarcieritarcieri mentioned this pull request Oct 18, 2024
Sign up for freeto 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

@tarcieri