From 145467050dd345c4bc7d7c02983ebc48f56fbf76 Mon Sep 17 00:00:00 2001 From: Sam Kravitz <38745575+samkravitz@users.noreply.github.com> Date: Fri, 10 Sep 2021 21:46:51 -0400 Subject: [PATCH] doc: fix typo in Array slice (#11469) --- doc/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index 3a931cabb6..4acab5e0db 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -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: