]> git.lizzy.rs Git - rust.git/commitdiff
fix array_windows docs
authorBastian Kauschke <bastian_kauschke@hotmail.de>
Thu, 17 Sep 2020 07:53:19 +0000 (09:53 +0200)
committerBastian Kauschke <bastian_kauschke@hotmail.de>
Thu, 17 Sep 2020 07:53:19 +0000 (09:53 +0200)
library/core/src/slice/mod.rs

index 8e9d1eb98a86b08130ea21fc972cf63d719c8f73..9e716c487c169c404770a3b24ed973a471a31482 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 smaller than the size of the array, it will return no windows.
+    /// If `N` is greater than the size of the array, it will return no windows.
     ///
     /// # Panics
     ///