daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. use rand::prelude::*;
  2. use rand::thread_rng;
  3.  
  4. fn main() {
  5.     for i in 0..10 {
  6.         match i {
  7.             0 ..= 5 => println!("Less than 5: {} ", i),
  8.             _ => println!("More than 5: {}", i)
  9.         }
  10.     }
  11. }
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