Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 23rd, 2018
97
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.25 KB
| None
|
0
0
raw
download
clone
embed
print
report
fn main() {
let a: Option<u32> = Some(1);
let b: Option<u32> = None;
match (a, b) {
(Some(x), Some(y)) => {
println!("won't run");
},
(x, y) => {
println!("{:?} {:?}", x, y);
}
};
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 27 sec ago | 1.85 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 29 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 39 min ago | 0.38 KB
estructura cuestonario entrevista
JSON | 1 hour ago | 0.73 KB
win_env_var_explorer2
Python | 1 hour ago | 4.80 KB
Untitled
C++ | 1 hour ago | 0.61 KB
СПРИНТ № 7 | Модель памяти в C++ | Урок 8: Ко...
C++ | 1 hour ago | 4.06 KB
win_env_var_explorer
Python | 1 hour ago | 4.06 KB
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!