]> git.lizzy.rs Git - rust.git/commitdiff
Fix a stutter in the docs for slice::exact_chunks
authorChris Barrick <cbarrick1@gmail.com>
Thu, 6 Dec 2018 21:53:24 +0000 (16:53 -0500)
committerChris Barrick <cbarrick1@gmail.com>
Thu, 6 Dec 2018 21:53:24 +0000 (16:53 -0500)
src/libcore/slice/mod.rs

index 8c55a16f3c8888d289d8257818fbceae0ae1dc50..5b57dcabb8da9de963998b055d04c5389cb213f6 100644 (file)
@@ -702,8 +702,7 @@ pub fn chunks_mut(&mut self, chunk_size: usize) -> ChunksMut<T> {
     /// resulting code better than in the case of [`chunks`].
     ///
     /// See [`chunks`] for a variant of this iterator that also returns the remainder as a smaller
-    /// chunk, and [`rchunks_exact`] for the same iterator but starting at the end of the slice of
-    /// the slice.
+    /// chunk, and [`rchunks_exact`] for the same iterator but starting at the end of the slice.
     ///
     /// # Panics
     ///