about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter/iterator.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs
index 1277acfb8bb..27b7bb2fa2e 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
     ///