Rollup merge of #99374 - TethysSvensson:patch-1, r=Dylan-DPC

Fix doc for `rchunks_exact`

`rchunks_exact` is not a more optimized version of `chunks`, but of `rchunks`.
This commit is contained in:
Yuki Okushi 2022-07-18 08:40:02 +09:00 committed by GitHub
commit 7c98c92ebc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1340,7 +1340,7 @@ impl<T> [T] {
/// from the `remainder` function of the iterator.
///
/// Due to each chunk having exactly `chunk_size` elements, the compiler can often optimize the
/// resulting code better than in the case of [`chunks`].
/// resulting code better than in the case of [`rchunks`].
///
/// See [`rchunks`] for a variant of this iterator that also returns the remainder as a smaller
/// chunk, and [`chunks_exact`] for the same iterator but starting at the beginning of the