Re:Rust const generics MVP hits beta
by NobodyNada on Friday February 26, 2021 @06:18PM
(#26281006)
That won’t allow extracting a value from the optional though, will it? i.e. I can’t do this something along the lines of:
[ Parent
| on HN ]
Re:Rust const generics MVP hits beta
by safarimonkey on Friday February 26, 2021 @07:05PM
(#26281338)
Indeed not, so it's not a full replacement. I'm not entirely sure that I like the idea of an "if let" variant creating bindings that escape the visual block, but I'd probably get over it.