aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-24 02:28:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-24 02:28:25 +0000
commitbc6286b33cfffd7cbbe8f68f03c31cd32cbf0679 (patch)
treec9ebb037e938da67a5ea9eac8215d369c6727fcd /array.c
parent4a22e769c56bd0c8a212b2a32ef3d7b13a0ff66b (diff)
downloadruby-bc6286b33cfffd7cbbe8f68f03c31cd32cbf0679.tar.gz
fid typos [ci skip]
* fix typos, "a" before "Integer" to "an". [Fix GH-1438] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56225 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 4e60177121..8d0098c0bc 100644
--- a/array.c
+++ b/array.c
@@ -5762,7 +5762,7 @@ rb_ary_sum(int argc, VALUE *argv, VALUE ary)
if (n != 0)
v = rb_fix_plus(LONG2FIX(n), v);
if (r != Qundef) {
- /* r can be a Integer when mathn is loaded */
+ /* r can be an Integer when mathn is loaded */
if (FIXNUM_P(r))
v = rb_fix_plus(r, v);
else if (RB_TYPE_P(r, T_BIGNUM))
@@ -5776,7 +5776,7 @@ rb_ary_sum(int argc, VALUE *argv, VALUE ary)
if (n != 0)
v = rb_fix_plus(LONG2FIX(n), v);
if (r != Qundef) {
- /* r can be a Integer when mathn is loaded */
+ /* r can be an Integer when mathn is loaded */
if (FIXNUM_P(r))
v = rb_fix_plus(r, v);
else if (RB_TYPE_P(r, T_BIGNUM))