if rust code example
Example: if in rust
if <boolean expression> {
print!("result from expression is true");
}
else {
print!("result from expression is false");
}
if <boolean expression> {
print!("result from expression is true");
}
else {
print!("result from expression is false");
}