diff options
author | Nobuyoshi Nakada <[email protected]> | 2019-12-20 09:19:39 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2019-12-20 09:32:42 +0900 |
commit | db166290088fb7d39d01f68b9860253893d4f1a7 (patch) | |
tree | 68c1b2c3e7ff00ed5cd6a214e6644a28dca22261 /range.c | |
parent | 2898367b3a1de00ca78067cc17dd4d1f8df37778 (diff) |
Fixed misspellings
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |