if b.is_some() || c == d {
// do something
} else {
// do something else
}
if matches!(b, Some(_)) || c == d {
// do something
} else {
// do something else
}
fn main() {
let number = 3;
if number < 5 {
println!("condition was true");
} else {
println!("condition was false");
}
}