Skip to content

Commit 13bb83c

Browse files
committed
Updated mut_chunks doc comment to match argument name.
1 parent e3549ee commit 13bb83c

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
@@ -515,14 +515,14 @@ pub trait MutableSlice<'a, T> {
515515
fn mut_split(self, pred: |&T|: 'a -> bool) -> MutSplits<'a, T>;
516516

517517
/**
518-
* Returns an iterator over `size` elements of the vector at a time.
519-
* The chunks are mutable and do not overlap. If `size` does not divide the
520-
* length of the vector, then the last chunk will not have length
521-
* `size`.
518+
* Returns an iterator over `chunk_size` elements of the vector at a time.
519+
* The chunks are mutable and do not overlap. If `chunk_size` does
520+
* not divide the length of the vector, then the last chunk will not
521+
* have length `chunk_size`.
522522
*
523523
* # Failure
524524
*
525-
* Fails if `size` is 0.
525+
* Fails if `chunk_size` is 0.
526526
*/
527527
fn mut_chunks(self, chunk_size: uint) -> MutChunks<'a, T>;
528528

0 commit comments

Comments
 (0)