Skip to navigation
How I used Random with Rust
19.04.24
How I used Random with rust # Cargo.yml ```yaml rand = {version ="*"} ``` # Code: ```rust use rand::prelude::*; let mut rng = rand::thread_rng(); let _r: u8 = rng.gen(); ```
https://docs.rs/rand/latest/rand/index.html
Reply
Anonymous
Information Epoch 1738785887
Don't do anything the computer can do for you.
Home
Notebook
Contact us