From c5a35f4a8d0bd1726f52710063d4f72cb4cc338b Mon Sep 17 00:00:00 2001 From: Ivan Dardi Date: Mon, 15 May 2017 16:59:43 -0300 Subject: [PATCH] Update documentation --- src/libcore/iter/iterator.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs index 1277acfb8bbf..27b7bb2fa2ec 100644 --- a/src/libcore/iter/iterator.rs +++ b/src/libcore/iter/iterator.rs @@ -266,8 +266,7 @@ pub trait Iterator { /// /// # Panics /// - /// If the given step is `0`, the method will panic if debug assertions are - /// enabled. + /// The method will panic if the given step is `0`. /// /// # Examples ///