summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-11 06:34:14 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-11 06:34:14 +0000
commit489d6a24e40c396239e9a7f8d9d905cfa80c8fd8 (patch)
tree24caa7fd67ae26ad39bed5e77ec016db184ee7ff /array.c
parent113b645b259249a88e6a91a37da11cf10f889469 (diff)
fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index c86562e5dc..51ec2f9910 100644
--- a/array.c
+++ b/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.
* expanded region will be filled with Qnil.
- * \param ary an arrray
+ * \param ary an array
* \param len new size
* \return \a ary
* \post the size of \a ary is \a len.
@@ -4466,7 +4466,7 @@ rb_ary_product(int argc, VALUE *argv, VALUE ary)
counters[m]++;
while (counters[m] == RARRAY_LEN(arrays[m])) {
counters[m] = 0;
- /* If the first counter overlows, we are done */
+ /* If the first counter overflows, we are done */
if (--m < 0) goto done;
counters[m]++;
}