summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index dbcc09d..fe86374 100644
--- a/array.c
+++ b/array.c
@@ -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);