// opt is an Option if let Some(value) = opt { // value contains the value in the option } else { // option is None }