Re:Rust and the Blub Paradox
by pcwalton on Saturday January 23, 2016 @02:53PM
(#10959764)
It only short-circuits to the end of the do block. But once you leave the do block the error isn't propagated anymore.
[ Parent
| on HN ]
Re:Rust and the Blub Paradox
by steveklabnik on Saturday January 23, 2016 @03:12PM
(#10959856)
Right. Maybe this is because I tend to write small functions, but the amount of things that end in `Ok(())` especially with IO still makes me think it would be useful.