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

Copyable generators and external iterators #99

Merged
merged 16 commits into from
Oct 19, 2021

Conversation

irh
Copy link
Contributor

@irh irh commented Oct 19, 2021

This PR fixes iterator.copy so that it works (roughly) as expected with
generators and external iterators.

A new ExternalIterator trait has been added to support this change, with the
additional benefit that meaningful size hints can be provided.

@irh irh merged commit f21f0f2 into main Oct 19, 2021
@irh irh deleted the copyable-generators-and-external-iterators branch October 19, 2021 13:35
@irh irh mentioned this pull request Nov 11, 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.

None yet

1 participant