From db166290088fb7d39d01f68b9860253893d4f1a7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 20 Dec 2019 09:19:39 +0900 Subject: Fixed misspellings Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec. --- range.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'range.c') diff --git a/range.c b/range.c index f701c16e6d..b4fab53eac 100644 --- a/range.c +++ b/range.c @@ -1610,12 +1610,12 @@ static VALUE range_count(int argc, VALUE *argv, VALUE range) { if (argc != 0) { - /* It is odd for instace (1...).count(0) to return Infinity. Just let + /* It is odd for instance (1...).count(0) to return Infinity. Just let * it loop. */ return rb_call_super(argc, argv); } else if (rb_block_given_p()) { - /* Likewise it is odd for instace (1...).count {|x| x == 0 } to return + /* Likewise it is odd for instance (1...).count {|x| x == 0 } to return * Infinity. Just let it loop. */ return rb_call_super(argc, argv); } -- cgit v1.2.3