| ▲ | dzaima 2 days ago | |||||||
For the case where `try` is useful over the functional form (i.e. parent's situation of having a desired Result, plus some unrelated early-returning), that ends up with nested `Result`s though, i.e. spamming an `Ok(Ok(x))` on all the non-erroring cases, which gets ugly fast. | ||||||||
| ▲ | skribanto 2 days ago | parent [-] | |||||||
Why couldnt you flatten it? | ||||||||
| ||||||||