Skip to content

Commit f982a26

Browse files
kyanaginobu
authored andcommitted
[DOC] Fix typo in Enumerable#slice_before
1 parent 18b96d8 commit f982a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3834,7 +3834,7 @@ slicebefore_i(RB_BLOCK_CALL_FUNC_ARGLIST(yielder, enumerator))
38343834
/*
38353835
* call-seq:
38363836
* slice_before(pattern) -> enumerator
3837-
* slice_before {|array| ... } -> enumerator
3837+
* slice_before {|elt| ... } -> enumerator
38383838
*
38393839
* With argument +pattern+, returns an enumerator that uses the pattern
38403840
* to partition elements into arrays ("slices").

0 commit comments

Comments
 (0)