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

Add Array::try_from_iter #4

Merged
merged 2 commits into from
Jan 11, 2024
Merged

Add Array::try_from_iter #4

merged 2 commits into from
Jan 11, 2024

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 merged commit 0112ee0 into master Jan 11, 2024
11 checks passed
@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