Skip to content

Commit 61d1c14

Browse files
committed
Fix incorrect statement about return value for Iterator::zip.
Fixes #50225.
1 parent 9fae153 commit 61d1c14

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)