Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- let x = 3 | 4;
- println!("{:?}", x);
- match x {
- 3 | 4 => { println!("matched 3 | 4") },
- _ => { println!("not matched"); },
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement