summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorIskren <iskren.nemet@gmail.com>2024-07-17 04:42:29 +0200
committerGitHub <noreply@github.com>2024-07-17 11:42:29 +0900
commit371790165f65d195a1dd6bd615dc6fd42eed8f94 (patch)
tree969fd4190044a588ec0d011395b6e52bf39322c1 /include/ruby
parentdabb6c49aa561ba8a222e8b9baf2cbf2e1a1608d (diff)
[DOC] Fix and improve array slicing example in range.c
* [DOC] Fix typo in range.c In the example of the beginless range used for array slicing, '..' range literal was used while the '...' literal was expected * [DOC] Add example for array slicing in range.c Add an example for the array slice with the beginless range using the '..' range literal * [DOC] Add comments for array slicing in range.c Add comments to make crystal clear what the '..' and '...' range literals do when used for array slicing as beginless range
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11150 Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions