fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
113b645b25
commit
489d6a24e4
4
array.c
4
array.c
@ -1311,7 +1311,7 @@ rb_ary_splice(VALUE ary, long beg, long len, VALUE rpl)
|
|||||||
/*!
|
/*!
|
||||||
* expands or shrinks \a ary to \a len elements.
|
* expands or shrinks \a ary to \a len elements.
|
||||||
* expanded region will be filled with Qnil.
|
* expanded region will be filled with Qnil.
|
||||||
* \param ary an arrray
|
* \param ary an array
|
||||||
* \param len new size
|
* \param len new size
|
||||||
* \return \a ary
|
* \return \a ary
|
||||||
* \post the size of \a ary is \a len.
|
* \post the size of \a ary is \a len.
|
||||||
@ -4466,7 +4466,7 @@ rb_ary_product(int argc, VALUE *argv, VALUE ary)
|
|||||||
counters[m]++;
|
counters[m]++;
|
||||||
while (counters[m] == RARRAY_LEN(arrays[m])) {
|
while (counters[m] == RARRAY_LEN(arrays[m])) {
|
||||||
counters[m] = 0;
|
counters[m] = 0;
|
||||||
/* If the first counter overlows, we are done */
|
/* If the first counter overflows, we are done */
|
||||||
if (--m < 0) goto done;
|
if (--m < 0) goto done;
|
||||||
counters[m]++;
|
counters[m]++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user