mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib,cgen: cleanup array inits using `.repeat() instead of new init syntax
This commit is contained in:
@ -83,7 +83,7 @@ const (
|
||||
fn block_generic(mut dig Digest, p_ []byte) {
|
||||
mut p := p_
|
||||
|
||||
mut w := [u32(0)].repeat(64)
|
||||
mut w := []u32{len:(64)}
|
||||
|
||||
mut h0 := dig.h[0]
|
||||
mut h1 := dig.h[1]
|
||||
|
Reference in New Issue
Block a user