Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- macro_rules! branch {
- () => {
- None => {}
- }
- }
- fn main() {
- let op: Option<i32> = Default::default();
- match op {
- branch!(),
- _ => {}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement