1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: improve single line const comment placement (#13595)

This commit is contained in:
Larpon
2022-02-25 13:46:12 +01:00
committed by GitHub
parent 9535d38645
commit 73f931b52e
6 changed files with 51 additions and 3 deletions

View File

@ -1099,7 +1099,7 @@ fn generate_scalar(size int) ?Scalar {
return reflect.ValueOf(s)
*/
mut s := edwards25519.sc_zero
diceroll := rand.intn(100) or {0}
diceroll := rand.intn(100) or { 0 }
match true {
/*
case diceroll == 0: