cacher-rui
2/18/2019 - 4:32 PM

Code shared from the Rust Playground

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