Skip to content

Commit

Permalink
Fix incorrect statement about return value for Iterator::zip.
Browse files Browse the repository at this point in the history
Fixes #50225.
  • Loading branch information
frewsxcv committed May 13, 2018
1 parent 9fae153 commit 61d1c14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libcore/iter/iterator.rs
Expand Up @@ -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
///
Expand Down

0 comments on commit 61d1c14

Please sign in to comment.