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:
@@ -279,7 +279,7 @@ pub fn sum512_256(data []byte) []byte {
|
||||
return sum256
|
||||
}
|
||||
|
||||
fn block(dig mut Digest, p []byte) {
|
||||
fn block(mut dig Digest, p []byte) {
|
||||
// For now just use block_generic until we have specific
|
||||
// architecture optimized versions
|
||||
block_generic(mut dig, p)
|
||||
|
||||
@@ -93,7 +93,7 @@ const (
|
||||
]
|
||||
)
|
||||
|
||||
fn block_generic(dig mut Digest, p_ []byte) {
|
||||
fn block_generic(mut dig Digest, p_ []byte) {
|
||||
mut p := p_
|
||||
mut w := [u64(0)].repeat(80)
|
||||
mut h0 := dig.h[0]
|
||||
@@ -160,4 +160,3 @@ fn block_generic(dig mut Digest, p_ []byte) {
|
||||
dig.h[6] = h6
|
||||
dig.h[7] = h7
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user