mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: check if mut function arg is declared as mut (#5579)
This commit is contained in:
@ -161,7 +161,7 @@ fn (mut d Digest) checksum() []byte {
|
||||
panic('d.nx != 0')
|
||||
}
|
||||
|
||||
digest := []byte{len:(size)}
|
||||
mut digest := []byte{len:(size)}
|
||||
|
||||
binary.big_endian_put_u32(mut digest, d.h[0])
|
||||
binary.big_endian_put_u32(mut digest[4..], d.h[1])
|
||||
|
Reference in New Issue
Block a user