about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-09-17 09:53:19 +0200
committerBastian Kauschke <bastian_kauschke@hotmail.de>2020-09-17 09:53:19 +0200
commit5f58e00ca565c8964dbf89f510236f72951d0bab (patch)
treefe127931d5a925ca2142ccee24366d239824bd59
parent95386b656e91168bf53e2ab63c6b992cae591fe7 (diff)
downloadrust-5f58e00ca565c8964dbf89f510236f72951d0bab.tar.gz
rust-5f58e00ca565c8964dbf89f510236f72951d0bab.zip
fix array_windows docs
-rw-r--r--library/core/src/slice/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs
index 8e9d1eb98a8..9e716c487c1 100644
--- a/library/core/src/slice/mod.rs
+++ b/library/core/src/slice/mod.rs
@@ -1034,7 +1034,7 @@ impl<T> [T] {
     ///
     /// 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
     ///