mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: fix maps warnings
This commit is contained in:

committed by
Alexander Medvednikov

parent
be141d9c5f
commit
49205dcce3
@@ -17,7 +17,7 @@ fn main() {
|
||||
println('failed to open $path')
|
||||
return
|
||||
}
|
||||
mut m := map[string]int{}
|
||||
mut m := map[string]int
|
||||
for word in contents.to_lower().split(' ') {
|
||||
key := filter_word(word)
|
||||
if key == '' {
|
||||
|
Reference in New Issue
Block a user