Skip to content

Add Array::try_from_iter#4

Merged
tarcieri merged 2 commits intomasterfrom
try-from-iter
Jan 11, 2024
Merged

Add Array::try_from_iter#4
tarcieri merged 2 commits intomasterfrom
try-from-iter

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Jan 11, 2024

Adds a fallible equivalent to FromIterator which returns TryFromIteratorError if the number of items in the iterator does not match the size of the array.

Adds a fallible equivalent to `FromIterator` which returns
`TryFromIteratorError` if the number of items in the iterator does not
match the size of the array.
@tarcieri tarcieri changed the title [WIP] Add Array::try_from_iter Add Array::try_from_iter Jan 11, 2024
@tarcieri tarcieri marked this pull request as ready for review January 11, 2024 18:00
@tarcieri tarcieri requested a review from newpavlov January 11, 2024 18:00
@tarcieri tarcieri merged commit 0112ee0 into master Jan 11, 2024
@tarcieri tarcieri deleted the try-from-iter branch January 11, 2024 18:06
@tarcieri tarcieri mentioned this pull request Oct 18, 2024
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.

2 participants