mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: change f mut Foo
to mut f Foo
This commit is contained in:
@ -160,7 +160,7 @@ fn test_string_arr() {
|
||||
assert m['a'][1] == 'two'
|
||||
}
|
||||
|
||||
fn mut_map(m mut map[string]int) {
|
||||
fn mut_map(mut m map[string]int) {
|
||||
m['a'] = 10
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user