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

doc: map ordering

This commit is contained in:
Alexander Medvednikov 2022-07-23 00:53:42 +03:00 committed by GitHub
parent 2ffad85f06
commit af41058979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1272,6 +1272,8 @@ val2 := arr[333]?
println(val2)
```
Maps are ordered by insertion, like dictionaries in Python. The order is a guaranteed language feature. This may change in the future.
## Module imports
For information about creating a module, see [Modules](#modules).