mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
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:
@@ -702,8 +702,7 @@ pub fn chunks_mut(&mut self, chunk_size: usize) -> ChunksMut<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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user