if not let rust code example Example: if let some rust let number = Some(10); if let Some(i) = number { println!("{}", i); }