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
|
@ -97,7 +97,7 @@ const(
|
|||
fn block_generic(dig mut Digest, p_ []byte) {
|
||||
mut p := p_
|
||||
|
||||
mut w := [u64(0); 80]
|
||||
mut w := [u64(0)].repeat(80)
|
||||
|
||||
mut h0 := dig.h[0]
|
||||
mut h1 := dig.h[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue