File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -406,8 +406,8 @@ impl<T> [T] {
406
406
core_slice:: SliceExt :: windows ( self , size)
407
407
}
408
408
409
- /// Returns an iterator over `size` slices of the slice at a
410
- /// time. The chunks do not overlap. If `size` does not divide the
409
+ /// Returns an iterator over `size` elements of the slice at a
410
+ /// time. The chunks are slices and do not overlap. If `size` does not divide the
411
411
/// length of the slice, then the last chunk will not have length
412
412
/// `size`.
413
413
///
@@ -432,8 +432,8 @@ impl<T> [T] {
432
432
core_slice:: SliceExt :: chunks ( self , size)
433
433
}
434
434
435
- /// Returns an iterator over `chunk_size` slices of the slice at a time.
436
- /// The chunks are mutable and do not overlap. If `chunk_size` does
435
+ /// Returns an iterator over `chunk_size` elements of the slice at a time.
436
+ /// The chunks are mutable slices, and do not overlap. If `chunk_size` does
437
437
/// not divide the length of the slice, then the last chunk will not
438
438
/// have length `chunk_size`.
439
439
///
You can’t perform that action at this time.
0 commit comments