Skip to content

Commit 2dca249

Browse files
committed
Auto merge of #50719 - frewsxcv:frewsxcv-iterator-zip, r=alexcrichton
Fix incorrect statement about return value for Iterator::zip. Fixes #50225.
2 parents b438449 + 61d1c14 commit 2dca249

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libcore/iter/iterator.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,7 @@ pub trait Iterator {
366366
///
367367
/// In other words, it zips two iterators together, into a single one.
368368
///
369-
/// When either iterator returns [`None`], all further calls to [`next`]
370-
/// will return [`None`].
369+
/// If either iterator returns [`None`], [`next`] will return [`None`].
371370
///
372371
/// # Examples
373372
///

0 commit comments

Comments
 (0)