1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc: fix typo in Array slice (#11469)

This commit is contained in:
Sam Kravitz
2021-09-10 21:46:51 -04:00
committed by GitHub
parent 1546090131
commit 145467050d

View File

@ -963,7 +963,7 @@ println(nums[..4]) // [0, 10, 20, 30]
println(nums[1..]) // [10, 20, 30, 40] println(nums[1..]) // [10, 20, 30, 40]
``` ```
In V slices are arrays themselves (they are no distinct types). As a result In V slices are arrays themselves (they are not distinct types). As a result
all array operations may be performed on them. E.g. they can be pushed onto an all array operations may be performed on them. E.g. they can be pushed onto an
array of the same type: array of the same type: