mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vlib: change [0;n]
to [0].repeat(n)
This commit is contained in:
parent
602e472b8a
commit
f077fbd32d
18 changed files with 41 additions and 40 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue