all: unwrap const() blocks

This commit is contained in:
Alexander Medvednikov 2023-11-25 10:02:51 +03:00
parent 399af6768d
commit f09826e928
436 changed files with 10448 additions and 11207 deletions

View file

@ -8,9 +8,7 @@ module rand
fn C.getrandom(p &u8, n usize, flags u32) int
const (
read_batch_size = 256
)
const read_batch_size = 256
// read returns an array of `bytes_needed` random bytes read from the OS.
pub fn read(bytes_needed int) ![]u8 {