Skip to main content

random_bool/
random_bool.rs

1use buf_rand::BufRand;
2
3fn main() {
4    let mut rand = BufRand::new(rand::thread_rng());
5    println!("{}", rand.next_bool());
6}