News for hackers. Stuff that matters.
Re:Rust: A Critical Retrospective by veber-alex on Thursday May 19, 2022 @12:27PM (#31436724)
GP's code will return Result<_, Bar>, the original code we are trying to fix just returns Bar.
Re:Rust: A Critical Retrospective by loeg on Thursday May 19, 2022 @12:38PM (#31436867)
If you are writing code to handle Results, it’s going to be a lot less painful to just return Result.