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

Extend note on Iterator::rewind #3308

Open
nielsdos opened this issue Apr 8, 2024 · 0 comments
Open

Extend note on Iterator::rewind #3308

nielsdos opened this issue Apr 8, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@nielsdos
Copy link
Member

nielsdos commented Apr 8, 2024

There's a note on the page for Iterator::rewind:

This is the first method called when starting a foreach loop. It will not be executed after foreach loops.

This could be improved by pointing users to the NoRewindIterator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants