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
commit 2dca249da0

View file

@ -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
///