Rollup merge of #62728 - DutchGhost:fix-double-wording, r=jonas-schievink

Fix repeated wording in slice documentation

Changes `of the slice of the slice` to `of the slice` in the chunk- and friends documentation of slices
This commit is contained in:
Mark Rousskov 2019-07-18 11:29:42 -04:00 committed by GitHub
commit 831d33b8b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -611,7 +611,7 @@ impl<T> [T] {
///
/// See [`chunks_exact`] for a variant of this iterator that returns chunks of always exactly
/// `chunk_size` elements, and [`rchunks`] for the same iterator but starting at the end of the
/// slice of the slice.
/// slice.
///
/// # Panics
///
@ -645,7 +645,7 @@ impl<T> [T] {
///
/// See [`chunks_exact_mut`] for a variant of this iterator that returns chunks of always
/// exactly `chunk_size` elements, and [`rchunks_mut`] for the same iterator but starting at
/// the end of the slice of the slice.
/// the end of the slice.
///
/// # Panics
///
@ -727,7 +727,7 @@ impl<T> [T] {
///
/// See [`chunks_mut`] for a variant of this iterator that also returns the remainder as a
/// smaller chunk, and [`rchunks_exact_mut`] for the same iterator but starting at the end of
/// the slice of the slice.
/// the slice.
///
/// # Panics
///