mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: remove space in front of ? and ! (#14366)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import crypto.rand
|
||||
|
||||
fn test_reading() ? {
|
||||
a := rand.read(32) ?
|
||||
a := rand.read(32)?
|
||||
// dump(a.hex())
|
||||
assert a.len == 32
|
||||
mut histogram := [256]int{}
|
||||
|
@ -20,7 +20,7 @@ pub fn int_u64(max u64) ?u64 {
|
||||
}
|
||||
mut n := u64(0)
|
||||
for {
|
||||
mut bytes := read(k) ?
|
||||
mut bytes := read(k)?
|
||||
bytes[0] &= u8(int(u64(1) << b) - 1)
|
||||
x := bytes_to_u64(bytes)
|
||||
n = x[0]
|
||||
|
Reference in New Issue
Block a user