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
commit a40aa45980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -702,8 +702,7 @@ impl<T> [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
///