mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler/vlib: change _ :=
to _ =
and disable _ :=
This commit is contained in:

committed by
Alexander Medvednikov

parent
746655c1d5
commit
8974aa4513
@ -68,7 +68,7 @@ pub fn (c mut Cipher) xor_key_stream(dst mut []byte, src []byte) {
|
||||
}
|
||||
mut i := c.i
|
||||
mut j := c.j
|
||||
_ := dst[src.len-1]
|
||||
_ = dst[src.len-1]
|
||||
*dst = dst.left(src.len) // eliminate bounds check from loop
|
||||
for k, v in src {
|
||||
i += byte(1)
|
||||
|
Reference in New Issue
Block a user