2 ms·
The grammar is let PATTERN: TYPE = Rust’s pattern syntax is richer than just introducing variables. I’m on my phone, so it’s a bit hard to show off all of
by steveklabnik 7y ago
The grammar is
let PATTERN: TYPE =
Rust’s pattern syntax is richer than just introducing variables. I’m on my phone, so it’s a bit hard to show off all of the things that can be done. In this exact case, though, it usually looks like
let (x, y, z) =
or with types,
let (x, y, z): (TYPE, TYPE, TYPE) =
- klyrs 7y agoYeah, I can live with that.