doc: edit comment in array example (#5936)

pull/5943/head
Koki Nishihara 2020-07-23 07:33:50 +09:00 committed by GitHub
parent 6586a9a657
commit ae4a9aca18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ dynamic arrays:
```v
mut numbers := []int{ cap: 1000 }
// Now adding new elements is as efficient as setting them directly
// Now able to add new elements without reallocating
for i in 0 .. 1000 {
numbers << i
// same as