Skip to content

Commit f584392

Browse files
committed
rollup merge of rust-lang#16842 : zsiciarz/master
2 parents 1bd0df3 + 13bb83c commit f584392

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libcore/slice.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -520,14 +520,14 @@ pub trait MutableSlice<'a, T> {
520520
fn mut_split(self, pred: |&T|: 'a -> bool) -> MutSplits<'a, T>;
521521

522522
/**
523-
* Returns an iterator over `size` elements of the vector at a time.
524-
* The chunks are mutable and do not overlap. If `size` does not divide the
525-
* length of the vector, then the last chunk will not have length
526-
* `size`.
523+
* Returns an iterator over `chunk_size` elements of the vector at a time.
524+
* The chunks are mutable and do not overlap. If `chunk_size` does
525+
* not divide the length of the vector, then the last chunk will not
526+
* have length `chunk_size`.
527527
*
528528
* # Failure
529529
*
530-
* Fails if `size` is 0.
530+
* Fails if `chunk_size` is 0.
531531
*/
532532
fn mut_chunks(self, chunk_size: uint) -> MutChunks<'a, T>;
533533

0 commit comments

Comments
 (0)