Rollup merge of #31784 - urschrei:chunks_doc, r=steveklabnik
Closes #31773 r? @steveklabnik
This commit is contained in:
commit
27990edb52
1 changed files with 2 additions and 2 deletions
|
|
@ -407,7 +407,7 @@ impl<T> [T] {
|
|||
}
|
||||
|
||||
/// Returns an iterator over `size` elements of the slice at a
|
||||
/// time. The chunks do not overlap. If `size` does not divide the
|
||||
/// time. The chunks are slices and do not overlap. If `size` does not divide the
|
||||
/// length of the slice, then the last chunk will not have length
|
||||
/// `size`.
|
||||
///
|
||||
|
|
@ -433,7 +433,7 @@ impl<T> [T] {
|
|||
}
|
||||
|
||||
/// Returns an iterator over `chunk_size` elements of the slice at a time.
|
||||
/// The chunks are mutable and do not overlap. If `chunk_size` does
|
||||
/// The chunks are mutable slices, and do not overlap. If `chunk_size` does
|
||||
/// not divide the length of the slice, then the last chunk will not
|
||||
/// have length `chunk_size`.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue