doc: fix typo in Array slice (#11469)
parent
1546090131
commit
145467050d
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue