summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authorszTheory <szTheory@users.noreply.github.com>2020-06-04 12:20:51 (GMT)
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-07 01:32:33 (GMT)
commitfa37a220f6a0edfd9741c7fd849a537232ea6dba (patch)
tree63af5c4e25328a72182f04bad070a9d938cbfea7 /enum.c
parentf8b4340fa2c254cd093ebc3bc70d2d0c46ea9997 (diff)
docs: fix typo
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3183
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enum.c b/enum.c
index 3cddbc0..f49b684 100644
--- a/enum.c
+++ b/enum.c
@@ -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