Re:Rust should not have provided `unwrap`
by johntb86 on Friday July 15, 2022 @01:29PM
(#32110665)
Rust is getting let-else to solve that problem: https://rust-lang.github.io/rfcs/3137-let-else.html
[ Parent
| on HN ]
Ahh, looks nice, here's hoping it gets stabilized
Fwiw there’s a small crate called guard which has provided this feature for several years.
I heartily endorse it.