1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

docs: fix typo

This commit is contained in:
szTheory 2020-06-04 12:20:51 +00:00 committed by Nobuyoshi Nakada
parent f8b4340fa2
commit fa37a220f6
Notes: git 2020-06-07 10:32:56 +09:00

4
enum.c
View file

@ -3701,7 +3701,7 @@ slicewhen_i(RB_BLOCK_CALL_FUNC_ARGLIST(yielder, enumerator))
* Creates an enumerator for each chunked elements.
* The beginnings of chunks are defined by the block.
*
* This method split each chunk using adjacent elements,
* This method splits each chunk using adjacent elements,
* _elt_before_ and _elt_after_,
* in the receiver enumerator.
* This method split chunks between _elt_before_ and _elt_after_ where
@ -3780,7 +3780,7 @@ enum_slice_when(VALUE enumerable)
* Creates an enumerator for each chunked elements.
* The beginnings of chunks are defined by the block.
*
* This method split each chunk using adjacent elements,
* This method splits each chunk using adjacent elements,
* _elt_before_ and _elt_after_,
* in the receiver enumerator.
* This method split chunks between _elt_before_ and _elt_after_ where