diff options
| author | Zbigniew Siciarz <antyqjon@gmail.com> | 2014-08-29 10:53:18 +0200 |
|---|---|---|
| committer | Zbigniew Siciarz <antyqjon@gmail.com> | 2014-08-29 10:53:18 +0200 |
| commit | 13bb83ce40636bbd0696fb0cc37a7bc77743a4ca (patch) | |
| tree | e12cb70d43f70b5e74700ddfdef3e46d73e102e7 /src/libcore | |
| parent | e3549ee202355731003002e813cf071cd89f04cb (diff) | |
Updated mut_chunks doc comment to match argument name.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/slice.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcore/slice.rs b/src/libcore/slice.rs index 5a70cd8c847..ce20052116a 100644 --- a/src/libcore/slice.rs +++ b/src/libcore/slice.rs @@ -515,14 +515,14 @@ pub trait MutableSlice<'a, T> { fn mut_split(self, pred: |&T|: 'a -> bool) -> MutSplits<'a, T>; /** - * Returns an iterator over `size` elements of the vector at a time. - * The chunks are mutable and do not overlap. If `size` does not divide the - * length of the vector, then the last chunk will not have length - * `size`. + * Returns an iterator over `chunk_size` elements of the vector at a time. + * The chunks are mutable and do not overlap. If `chunk_size` does + * not divide the length of the vector, then the last chunk will not + * have length `chunk_size`. * * # Failure * - * Fails if `size` is 0. + * Fails if `chunk_size` is 0. */ fn mut_chunks(self, chunk_size: uint) -> MutChunks<'a, T>; |
