mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
make function arguments immutable by default
This commit is contained in:
parent
06b8bd9382
commit
34e0b164eb
22 changed files with 107 additions and 83 deletions
|
@ -17,7 +17,7 @@ const (
|
|||
_K3 = 0xCA62C1D6
|
||||
)
|
||||
|
||||
fn block_generic(dig &Digest, p []byte) {
|
||||
fn block_generic(dig mut Digest, p []byte) {
|
||||
mut w := [u32(0); 16]
|
||||
mut h0 := dig.h[0]
|
||||
mut h1 := dig.h[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue