Skip to content

Instantly share code, notes, and snippets.

@rust-play
Created July 19, 2019 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rust-play/0cfa046b60d37452696629c9ac66cc76 to your computer and use it in GitHub Desktop.
Save rust-play/0cfa046b60d37452696629c9ac66cc76 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
fn main() {
match Some(42) {
option @ Some(x) => (),
None => (),
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment