Match match VALUE { PATTERN => EXPRESSION, PATTERN => EXPRESSION, PATTERN => EXPRESSION, } If Let fn main() { let config_max = Some(3u8); if let Some(max) = config_max { println!("The maximum is configured to be {}", max); } } Test the RHS is Some and give the value to the LHS A shorthand for a match statement that matches a single pattern. Rust Error Handling