Skip to content

Commit 764d307

Browse files
lcnrest31
andauthored
docs array -> slice
Co-authored-by: est31 <[email protected]>
1 parent 5f58e00 commit 764d307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ impl<T> [T] {
10341034
///
10351035
/// This is the const generic equivalent of [`windows`].
10361036
///
1037-
/// If `N` is greater than the size of the array, it will return no windows.
1037+
/// If `N` is greater than the size of the slice, it will return no windows.
10381038
///
10391039
/// # Panics
10401040
///

0 commit comments

Comments
 (0)