Now that iter::zip is stable (#91881), we can mention it in the documentation of other stable methods.
It would thus be nice to mention it in the documentation for Iterator::zip, both to help people discover it and to help them decide when to use which.
It already has a s1.iter().zip(s2); example talking about IntoIterator, so maybe it would make sense to mention iter::zip in terms of when you want that on both sides, as zip(s1, s2).
If you start working on this, please comment @rustbot claim to help avoid duplicate effort.
Now that
iter::zipis stable (#91881), we can mention it in the documentation of other stable methods.It would thus be nice to mention it in the documentation for
Iterator::zip, both to help people discover it and to help them decide when to use which.It already has a
s1.iter().zip(s2);example talking aboutIntoIterator, so maybe it would make sense to mentioniter::zipin terms of when you want that on both sides, aszip(s1, s2).If you start working on this, please comment
@rustbot claimto help avoid duplicate effort.