mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vlib,cgen: cleanup array inits using `.repeat() instead of new init syntax
This commit is contained in:
parent
2669610be9
commit
c84bafbdae
31 changed files with 52 additions and 53 deletions
|
@ -95,7 +95,7 @@ const (
|
|||
|
||||
fn block_generic(mut dig Digest, p_ []byte) {
|
||||
mut p := p_
|
||||
mut w := [u64(0)].repeat(80)
|
||||
mut w := []u64{len:(80)}
|
||||
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