mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
migrate remaining code to the new maps
This commit is contained in:
@ -26,10 +26,7 @@ fn main() {
|
||||
m[key] = m[key] + 1// TODO m[key]++
|
||||
}
|
||||
// Sort the keys
|
||||
mut keys := []string
|
||||
for e in m.entries {
|
||||
keys << e.key
|
||||
}
|
||||
mut keys := m.keys()
|
||||
keys.sort()
|
||||
// Print the map
|
||||
for key in keys {
|
||||
|
Reference in New Issue
Block a user