diff --git a/array.c b/array.c index 44a0300efd..11542efe99 100644 --- a/array.c +++ b/array.c @@ -2475,8 +2475,8 @@ rb_ary_to_a(VALUE ary) /* * call-seq: - * ary.to_h -> hash - * ary.to_h { block } -> hash + * ary.to_h -> hash + * ary.to_h {|item| block } -> hash * * Returns the result of interpreting ary as an array of * [key, value] pairs.