Rust: Problem 2 - use `if`, not `match`