summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-24 02:28:25 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-24 02:28:25 (GMT)
commit0cc169d1de0decb3fae626a4b30297b7f4792745 (patch)
treec9ebb037e938da67a5ea9eac8215d369c6727fcd /enum.c
parent967c01339126acb078e79fb9a9a618a435a27dba (diff)
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 'enum.c')
-rw-r--r--enum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enum.c b/enum.c
index 487ee55..84f6a6f 100644
--- a/enum.c
+++ b/enum.c
@@ -3611,7 +3611,7 @@ sum_iter(VALUE i, struct enum_sum_memo *memo)
n = 0;
}
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))
@@ -3781,7 +3781,7 @@ enum_sum(int argc, VALUE* argv, VALUE obj)
if (memo.n != 0)
memo.v = rb_fix_plus(LONG2FIX(memo.n), memo.v);
if (memo.r != Qundef) {
- /* r can be a Integer when mathn is loaded */
+ /* r can be an Integer when mathn is loaded */
if (FIXNUM_P(memo.r))
memo.v = rb_fix_plus(memo.r, memo.v);
else if (RB_TYPE_P(memo.r, T_BIGNUM))