We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It'd be really useful since generic tuples aren't out yet
The text was updated successfully, but these errors were encountered:
I think it may only be possible if you're using ExactSizeIterator, because we need to know the exact size at compile time.
Sorry, something went wrong.
There's a lot of edge cases to work through with this feature, which is why it's not stable in the standard library yet.
In the meantime, you can use array::from_fn to achieve this, by calling iter.next().unwrap() in the passed closure.
array::from_fn
iter.next().unwrap()
No branches or pull requests
It'd be really useful since generic tuples aren't out yet
The text was updated successfully, but these errors were encountered: