diff options
-rw-r--r-- | array.c | 2 | ||||
-rw-r--r-- | hash.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -5828,7 +5828,7 @@ rb_ary_any_p(int argc, VALUE *argv, VALUE ary) * [42, {foo: :bar}].dig(1, :foo) #=> :bar */ -VALUE +static VALUE rb_ary_dig(int argc, VALUE *argv, VALUE self) { rb_check_arity(argc, 1, UNLIMITED_ARGUMENTS); @@ -3065,7 +3065,7 @@ rb_hash_any_p(int argc, VALUE *argv, VALUE hash) * g.dig(:foo, :bar) #=> TypeError: no implicit conversion of Symbol into Integer */ -VALUE +static VALUE rb_hash_dig(int argc, VALUE *argv, VALUE self) { rb_check_arity(argc, 1, UNLIMITED_ARGUMENTS); |