mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[DOC] Fix a typo in enum.c documentation
fix a minor misspelling in the documentation comments
This commit is contained in:
parent
dd489ee9c4
commit
a7f948c32c
Notes:
git
2025-11-23 02:32:23 +00:00
2
enum.c
2
enum.c
@ -3946,7 +3946,7 @@ chunk_i(RB_BLOCK_CALL_FUNC_ARGLIST(yielder, enumerator))
|
||||
* ["F", 6860]
|
||||
*
|
||||
* You can use the special symbol <tt>:_alone</tt> to force an element
|
||||
* into its own separate chuck:
|
||||
* into its own separate chunk:
|
||||
*
|
||||
* a = [0, 0, 1, 1]
|
||||
* e = a.chunk{|i| i.even? ? :_alone : true }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user