about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-09-20 12:08:27 +0200
committerGitHub <noreply@github.com>2020-09-20 12:08:27 +0200
commitc124d4363d3b3eb76b4aee36c8a7386b34a2a996 (patch)
tree3c52899c8563f76369df9464f5350d5bab246e1e
parent50d56bc774f9ecb2b43640651401f3cb346c1b89 (diff)
parent764d307963db8c50a47a9828a4c2eeea74d54007 (diff)
downloadrust-c124d4363d3b3eb76b4aee36c8a7386b34a2a996.tar.gz
rust-c124d4363d3b3eb76b4aee36c8a7386b34a2a996.zip
Rollup merge of #76827 - lcnr:array_windows-docs, r=jonas-schievink
fix array_windows docs

r? @Dylan-DPC
-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 fd98f60c3dd..ff926c517bc 100644
--- a/library/core/src/slice/mod.rs
+++ b/library/core/src/slice/mod.rs
@@ -957,7 +957,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 slice, it will return no windows.
     ///
     /// # Panics
     ///