about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-02-25 04:21:10 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-02-25 04:21:10 +0530
commit27990edb5296ff2b27e2ff9253a66ee266a0ce72 (patch)
tree0ff3b5804b911eead86db712f5d92ceaa0a66afc
parente928297a3bb3c013db9eb3b120a5c92c20ed882a (diff)
parent41a63bdcab788938a27a46a8f73b834f94600549 (diff)
Rollup merge of #31784 - urschrei:chunks_doc, r=steveklabnik
Closes #31773

r? @steveklabnik
-rw-r--r--src/libcollections/slice.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs
index 6252e4888eb..eab69088aa2 100644
--- a/src/libcollections/slice.rs
+++ b/src/libcollections/slice.rs
@@ -407,7 +407,7 @@ impl<T> [T] {
     }
 
     /// Returns an iterator over `size` elements of the slice at a
-    /// time. The chunks do not overlap. If `size` does not divide the
+    /// time. The chunks are slices and do not overlap. If `size` does not divide the
     /// length of the slice, then the last chunk will not have length
     /// `size`.
     ///
@@ -433,7 +433,7 @@ impl<T> [T] {
     }
 
     /// Returns an iterator over `chunk_size` elements of the slice at a time.
-    /// The chunks are mutable and do not overlap. If `chunk_size` does
+    /// The chunks are mutable slices, and do not overlap. If `chunk_size` does
     /// not divide the length of the slice, then the last chunk will not
     /// have length `chunk_size`.
     ///