Skip to content

Commit

Permalink
Rollup merge of rust-lang#62728 - DutchGhost:fix-double-wording, r=jo…
Browse files Browse the repository at this point in the history
…nas-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
  • Loading branch information
Mark-Simulacrum committed Jul 18, 2019
2 parents 988a4ba + 9341e90 commit 831d33b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libcore/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down Expand Up @@ -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
///
Expand Down Expand Up @@ -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
///
Expand Down

0 comments on commit 831d33b

Please sign in to comment.