File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
library/core/src/iter/traits Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -461,8 +461,10 @@ pub trait Iterator {
461
461
/// In other words, it zips two iterators together, into a single one.
462
462
///
463
463
/// If either iterator returns [`None`], [`next`] from the zipped iterator
464
- /// will return [`None`]. If the first iterator returns [`None`], `zip` will
465
- /// short-circuit and `next` will not be called on the second iterator.
464
+ /// will return [`None`].
465
+ /// If the zipped iterator has no more elements to return then each further attempt to advance
466
+ /// it will first try to advance the first iterator at most one time and if it still yielded an item
467
+ /// try to advance the second iterator at most one time.
466
468
///
467
469
/// # Examples
468
470
///
You can’t perform that action at this time.
0 commit comments