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:
bors
2018-05-20 18:18:12 +00:00
+1 -2
View File
@@ -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
///