v/vlib/v/parser/tests/for_in_mut_key_of_map.vv

7 lines
82 B
V

fn main() {
mut m := {'foo': 1, 'bar': 2}
for mut k, _ in m {
println(k)
}
}