Skip to content

Instantly share code, notes, and snippets.

@jookyboi
Forked from rust-play/playground.rs
Last active February 18, 2019 16:35
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 jookyboi/a531f24504574ede6ec93c1ce70ffc06 to your computer and use it in GitHub Desktop.
Save jookyboi/a531f24504574ede6ec93c1ce70ffc06 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
fn boolinator() -> bool {
match true {
true => true,
false => false,
}
&&
match false {
true => true,
false => false,
}
}
fn main() {
println!("{}", boolinator());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment