From 61d1c14633dd1602513784e8cafe007ef01733bb Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sun, 13 May 2018 15:45:33 -0400 Subject: Fix incorrect statement about return value for Iterator::zip. Fixes https://github.com/rust-lang/rust/issues/50225. --- src/libcore/iter/iterator.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libcore') 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 /// -- cgit 1.4.1-3-g733a5