Closed
Description
Hi I have a function, which returns an Result<(), Error>. I want to early return on errors.
I saw in result.rs something, that uses while_some may be the right method here, although I don't know how to use that. I couldn't find something in the documentation.
Also a while_ok method would probably be nice.