File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ impl<T> [T] {
406406 core_slice:: SliceExt :: windows ( self , size)
407407 }
408408
409- /// Returns an iterator over `size` elements of the slice at a
409+ /// Returns an iterator over `size` slices of the slice at a
410410 /// time. The chunks do not overlap. If `size` does not divide the
411411 /// length of the slice, then the last chunk will not have length
412412 /// `size`.
@@ -432,7 +432,7 @@ impl<T> [T] {
432432 core_slice:: SliceExt :: chunks ( self , size)
433433 }
434434
435- /// Returns an iterator over `chunk_size` elements of the slice at a time.
435+ /// Returns an iterator over `chunk_size` slices of the slice at a time.
436436 /// The chunks are mutable and do not overlap. If `chunk_size` does
437437 /// not divide the length of the slice, then the last chunk will not
438438 /// have length `chunk_size`.
You can’t perform that action at this time.
0 commit comments