Auto merge of #50719 - frewsxcv:frewsxcv-iterator-zip, r=alexcrichton
Fix incorrect statement about return value for Iterator::zip. Fixes https://github.com/rust-lang/rust/issues/50225.
This commit is contained in:
commit
2dca249da0
1 changed files with 1 additions and 2 deletions
|
|
@ -366,8 +366,7 @@ pub trait Iterator {
|
|||
///
|
||||
/// In other words, it zips two iterators together, into a single one.
|
||||
///
|
||||
/// When either iterator returns [`None`], all further calls to [`next`]
|
||||
/// will return [`None`].
|
||||
/// If either iterator returns [`None`], [`next`] will return [`None`].
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue