mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: add mut
for the first parameter of builtin.copy, arrays.copy and crypto (#13702)
This commit is contained in:
@ -47,7 +47,7 @@ pub fn new_alphabet(str string) ?Alphabet {
|
||||
}
|
||||
|
||||
mut ret := Alphabet{}
|
||||
copy(ret.encode, str.bytes())
|
||||
copy(mut ret.encode, str.bytes())
|
||||
|
||||
mut distinct := 0
|
||||
for i, b in ret.encode {
|
||||
|
Reference in New Issue
Block a user