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());
}