Quiz · Enums and match · lesson 3 of 8
Quiz — Option + 1
What happens when this program is built and run?
fn main() {
let x = Some(5);
println!("{:?}", x + 1);
}What happens when this program is built and run?
fn main() {
let x = Some(5);
println!("{:?}", x + 1);
}