SHARE
TWEET

Untitled

a guest Mar 25th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. macro_rules! asi {
  2.     ($($stmts:stmt)*) => {
  3.         $($stmts);*
  4.     };
  5. }
  6.  
  7. fn main() {
  8.     asi! {
  9.         let x = 5 if x > 2 { println!("Hallo {}", x) }
  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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top