mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: change [0;n] to [0].repeat(n)
This commit is contained in:
committed by
Alexander Medvednikov
parent
602e472b8a
commit
f077fbd32d
@@ -19,7 +19,7 @@ const (
|
||||
|
||||
fn block_generic(dig mut Digest, p_ []byte) {
|
||||
mut p := p_
|
||||
mut w := [u32(0); 16]
|
||||
mut w := [u32(0)].repeat(16)
|
||||
mut h0 := dig.h[0]
|
||||
mut h1 := dig.h[1]
|
||||
mut h2 := dig.h[2]
|
||||
|
||||
Reference in New Issue
Block a user