Rollup merge of #96038 - beyarkay:patch-1, r=m-ou-se
docs: add link from zip to unzip The docs for `Iterator::unzip` explain that it is kind of an inverse operation to `Iterator::zip` and guide the reader to the `zip` docs, but the `zip` docs don't let the user know that they can undo the `zip` operation with `unzip`. This change modifies the docs to help the user find `unzip`.
This commit is contained in:
commit
bd007ba928
@ -470,6 +470,10 @@ fn chain<U>(self, other: U) -> Chain<Self, U::IntoIter>
|
||||
/// it will first try to advance the first iterator at most one time and if it still yielded an item
|
||||
/// try to advance the second iterator at most one time.
|
||||
///
|
||||
/// To 'undo' the result of zipping up two iterators, see [`unzip`].
|
||||
///
|
||||
/// [`unzip`]: Iterator::unzip
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Basic usage:
|
||||
|
Loading…
Reference in New Issue
Block a user