Skip to content

Commit

Permalink
manual: mention 0-based indexes in array slicing
Browse files Browse the repository at this point in the history
  • Loading branch information
siers authored Apr 3, 2020
1 parent ccc79e5 commit 2953cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/manual/v1.6/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ sections:
index 10 (inclusive) to index 15 (exclusive). Either index may
be negative (in which case it counts backwards from the end of
the array), or omitted (in which case it refers to the start
or end of the array).
or end of the array). The indexes are zero based.
examples:
- program: '.[2:4]'
Expand Down

0 comments on commit 2953cb7

Please sign in to comment.