Skip to content

Commit 831d33b

Browse files
Rollup merge of rust-lang#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
2 parents 988a4ba + 9341e90 commit 831d33b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcore/slice/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ impl<T> [T] {
611611
///
612612
/// See [`chunks_exact`] for a variant of this iterator that returns chunks of always exactly
613613
/// `chunk_size` elements, and [`rchunks`] for the same iterator but starting at the end of the
614-
/// slice of the slice.
614+
/// slice.
615615
///
616616
/// # Panics
617617
///
@@ -645,7 +645,7 @@ impl<T> [T] {
645645
///
646646
/// See [`chunks_exact_mut`] for a variant of this iterator that returns chunks of always
647647
/// exactly `chunk_size` elements, and [`rchunks_mut`] for the same iterator but starting at
648-
/// the end of the slice of the slice.
648+
/// the end of the slice.
649649
///
650650
/// # Panics
651651
///
@@ -727,7 +727,7 @@ impl<T> [T] {
727727
///
728728
/// See [`chunks_mut`] for a variant of this iterator that also returns the remainder as a
729729
/// smaller chunk, and [`rchunks_exact_mut`] for the same iterator but starting at the end of
730-
/// the slice of the slice.
730+
/// the slice.
731731
///
732732
/// # Panics
733733
///

0 commit comments

Comments
 (0)