You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue rust-lang#30632 shows the unexpected behavior that can arise from
`iter::Map` and `iter::Filter` both implementing `DoubleEndedIterator`.
PR rust-lang#31220 makes note of this behavior by adding a note to the docs for
`iter::Map`, but does not do the same for `iter::Filter`. This PR adds
similar documentation to `iter::Filter`.
It may be worth considering adding this documentation to
`iter::FilterMap` as well or placing it in another location with a note
that it applies to using all of these types with stateful closures.
0 commit comments