Skip to content

Commit a40aa45

Browse files
authored
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.
2 parents 06f3b57 + b6d3668 commit a40aa45

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libcore/slice/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,7 @@ impl<T> [T] {
702702
/// resulting code better than in the case of [`chunks`].
703703
///
704704
/// See [`chunks`] for a variant of this iterator that also returns the remainder as a smaller
705-
/// chunk, and [`rchunks_exact`] for the same iterator but starting at the end of the slice of
706-
/// the slice.
705+
/// chunk, and [`rchunks_exact`] for the same iterator but starting at the end of the slice.
707706
///
708707
/// # Panics
709708
///

0 commit comments

Comments
 (0)