We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
https://github.com/rust-lang-nursery/edition-guide/blame/master/src/2018/transitioning/ownership-and-lifetimes/default-match-bindings.md#L20
This has let s: &Option<&str> = Some("hello"); But should be let s: &Option<&str> = &Some("hello");
let s: &Option<&str> = Some("hello");
let s: &Option<&str> = &Some("hello");
In both examples.