diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index e33dad38d4b0d..fdf3c7b3f637e 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -848,6 +848,8 @@ impl [T] { /// slice, then the last up to `N-1` elements will be omitted and can be retrieved /// from the `remainder` function of the iterator. /// + /// This method is the const generic equivalent of [`chunks_exact`]. + /// /// # Panics /// /// Panics if `N` is 0. @@ -864,7 +866,7 @@ impl [T] { /// assert_eq!(iter.remainder(), &['m']); /// ``` /// - /// [`chunks`]: #method.chunks + /// [`chunks_exact`]: #method.chunks_exact #[unstable(feature = "array_chunks", issue = "none")] #[inline] pub fn array_chunks(&self) -> ArrayChunks<'_, T, N> {