diff --git a/array.c b/array.c index 07a5e5f3ea..d452eade3a 100644 --- a/array.c +++ b/array.c @@ -2751,7 +2751,7 @@ rb_ary_compact(VALUE ary) * array.count { |item| block } -> int * * Returns the number of elements which equals to obj. - * If a block is given, counts tthe number of elements yielding a true value. + * If a block is given, counts the number of elements yielding a true value. * * ary = [1, 2, 4, 2] * ary.count(2) # => 2