Rollup merge of #56574 - cbarrick:master, r=varkor

Fix a stutter in the docs for slice::exact_chunks

Before this change, the docs for `slice::exact_chunks` reads like this:

> 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.

Notice that stutter at the end? This commit fixes it.
This commit is contained in:
kennytm
2018-12-07 12:42:36 +08:00
committed by GitHub
+1 -2
View 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
///