]> git.lizzy.rs Git - rust.git/commitdiff
docs `array` -> `slice`
authorBastian Kauschke <bastian_kauschke@hotmail.de>
Thu, 17 Sep 2020 08:30:28 +0000 (10:30 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Sep 2020 08:30:28 +0000 (10:30 +0200)
Co-authored-by: est31 <est31@users.noreply.github.com>
library/core/src/slice/mod.rs

index 9e716c487c169c404770a3b24ed973a471a31482..a3a1715b75e31cb559036d54a7ef97a801cbdc61 100644 (file)
@@ -1034,7 +1034,7 @@ pub fn array_chunks_mut<const N: usize>(&mut self) -> ArrayChunksMut<'_, T, N> {
     ///
     /// This is the const generic equivalent of [`windows`].
     ///
-    /// If `N` is greater than the size of the array, it will return no windows.
+    /// If `N` is greater than the size of the slice, it will return no windows.
     ///
     /// # Panics
     ///