diff options
| author | Corey Farwell <coreyf@rwell.org> | 2018-05-13 15:45:33 -0400 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2018-05-13 15:45:33 -0400 |
| commit | 61d1c14633dd1602513784e8cafe007ef01733bb (patch) | |
| tree | b0ef42f493a48a230fc39d9383e3bcb1cd730073 /src/libcore | |
| parent | 9fae1537462bb10fd17d07816efc17cfe4786806 (diff) | |
| download | rust-61d1c14633dd1602513784e8cafe007ef01733bb.tar.gz rust-61d1c14633dd1602513784e8cafe007ef01733bb.zip | |
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 /// |
