We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5624d2a + 2d4011d commit 091c9d2Copy full SHA for 091c9d2
src/libcore/iter/iterator.rs
@@ -384,7 +384,9 @@ pub trait Iterator {
384
///
385
/// In other words, it zips two iterators together, into a single one.
386
387
- /// If either iterator returns [`None`], [`next`] will return [`None`].
+ /// If either iterator returns [`None`], [`next`] from the zipped iterator
388
+ /// will return [`None`]. If the first iterator returns [`None`], `zip` will
389
+ /// short-circuit and `next` will not be called on the second iterator.
390
391
/// # Examples
392
0 commit comments