-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Mention iter::zip in the documentation for Iterator::zip #91960
Copy link
Copy link
Closed
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.