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

doc: edit comment in array example (#5936)

This commit is contained in:
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

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