diff options
| author | bors <bors@rust-lang.org> | 2018-05-20 18:18:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-20 18:18:12 +0000 |
| commit | 2dca249da08e059adf083171414a24d2c039b8cb (patch) | |
| tree | c728f2c24e4d0b363ca8a5ef16c008f0d2da94dd /src/libcore | |
| parent | b4384491615e2159653207b74760643b507d12f8 (diff) | |
| parent | 61d1c14633dd1602513784e8cafe007ef01733bb (diff) | |
| download | rust-2dca249da08e059adf083171414a24d2c039b8cb.tar.gz rust-2dca249da08e059adf083171414a24d2c039b8cb.zip | |
Auto merge of #50719 - frewsxcv:frewsxcv-iterator-zip, r=alexcrichton
Fix incorrect statement about return value for Iterator::zip. Fixes https://github.com/rust-lang/rust/issues/50225.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/iter/iterator.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs index b27bd3142e1..d22c5376211 100644 --- a/src/libcore/iter/iterator.rs +++ b/src/libcore/iter/iterator.rs @@ -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 /// |
