Fix for rchunks_exact doc

`rchunks_exact` is not a more optimized version of `chunks`, but of `rchunks`.
This commit is contained in:
Tethys Svensson
2022-07-17 14:18:36 +02:00
committed by GitHub
parent 1cd72b7343
commit 8c58de5e2c
+1 -1
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