1
0
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:
unknown-v
2019-08-17 01:55:11 +02:00
committed by Alexander Medvednikov
parent be141d9c5f
commit 49205dcce3
4 changed files with 8 additions and 8 deletions

View File

@@ -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 == '' {