mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
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:
@@ -366,8 +366,7 @@ fn chain<U>(self, other: U) -> Chain<Self, U::IntoIter> where
|
||||
///
|
||||
/// 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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user