Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. macro_rules! branch {
  2. () => {
  3. None => {}
  4. }
  5. }
  6.  
  7. fn main() {
  8. let op: Option<i32> = Default::default();
  9. match op {
  10. branch!(),
  11. _ => {}
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement