2017-09-18 12:47:33 +02:00
|
|
|
|
|
|
|
|
2017-05-17 14:19:44 +02:00
|
|
|
#![warn(clippy)]
|
|
|
|
#![warn(if_not_else)]
|
2016-02-29 09:45:36 +01:00
|
|
|
|
|
|
|
fn bla() -> bool { unimplemented!() }
|
|
|
|
|
|
|
|
fn main() {
|
2017-02-08 14:58:07 +01:00
|
|
|
if !bla() {
|
2016-02-29 09:45:36 +01:00
|
|
|
println!("Bugs");
|
|
|
|
} else {
|
|
|
|
println!("Bunny");
|
|
|
|
}
|
2017-02-08 14:58:07 +01:00
|
|
|
if 4 != 5 {
|
2016-02-29 09:45:36 +01:00
|
|
|
println!("Bugs");
|
|
|
|
} else {
|
|
|
|
println!("Bunny");
|
|
|
|
}
|
|
|
|
}
|