doc: fix typo in Array slice (#11469)

pull/11471/head
Sam Kravitz 2021-09-10 21:46:51 -04:00 committed by GitHub
parent 1546090131
commit 145467050d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -963,7 +963,7 @@ println(nums[..4]) // [0, 10, 20, 30]
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
array of the same type: