← Quit0 / 0 correct
Matching on a reference: what is the type of `s` here?
let opt: Option<String> = Some("x".into());
match &opt {
Some(s) => println!("{s}"),
None => {}
}Matching on a reference: what is the type of `s` here?
let opt: Option<String> = Some("x".into());
match &opt {
Some(s) => println!("{s}"),
None => {}
}