SHARE
TWEET

Untitled

a guest Apr 18th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. use rand;
  2. use rand::Rng;
  3.  
  4. fn main() {
  5.     let mut rng = rand::thread_rng();
  6.     let x: i32 = rng.gen();
  7.  
  8.     println!("Hello, world! {}", x);
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top