Skip to content

tweaks to core::iterator #6589

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

Closed
wants to merge 6 commits into from
Closed

tweaks to core::iterator #6589

wants to merge 6 commits into from

Conversation

thestinger
Copy link
Contributor

No description provided.

it's the same as `next.unwrap()`, but there's no way to check the
length of an iterator so this isn't a good pattern
There isn't a way to take the length of any iterator, so failing on a
zero length would make these much less useful.
@bors bors closed this May 19, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 30, 2021
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