diff --git a/enum.c b/enum.c index 97215b627e..4a0403faf1 100644 --- a/enum.c +++ b/enum.c @@ -3834,7 +3834,7 @@ slicebefore_i(RB_BLOCK_CALL_FUNC_ARGLIST(yielder, enumerator)) /* * call-seq: * slice_before(pattern) -> enumerator - * slice_before {|array| ... } -> enumerator + * slice_before {|elt| ... } -> enumerator * * With argument +pattern+, returns an enumerator that uses the pattern * to partition elements into arrays ("slices").