News for hackers. Stuff that matters.
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
Re:Rust should not have provided `unwrap` by Macha on Friday July 15, 2022 @01:37PM (#32110756)
Ahh, looks nice, here's hoping it gets stabilized
Re:Rust should not have provided `unwrap` by masklinn on Friday July 15, 2022 @01:59PM (#32111005)
Fwiw there’s a small crate called guard which has provided this feature for several years.

I heartily endorse it.

Re:Rust should not have provided `unwrap` by Cyph0n on Friday July 15, 2022 @01:49PM (#32110889)
Wow, this would definitely make it much cleaner!