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

Support for next_if and next_if_eq on PeekNth #733

Closed
herlev opened this issue Aug 21, 2023 · 0 comments · Fixed by #734
Closed

Support for next_if and next_if_eq on PeekNth #733

herlev opened this issue Aug 21, 2023 · 0 comments · Fixed by #734
Assignees

Comments

@herlev
Copy link

herlev commented Aug 21, 2023

Currently the documentation for itertools::peek_nth says:

A drop-in replacement for std::iter::Peekable which adds a peek_nth method allowing the user to peek at a value several iterations forward without advancing the base iterator.

It is however not a drop-in replacement at the moment, since the methods next_if and next_if_eq isn't implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants