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