3 ms·
> I could of course create my own type for this, but then it won’t work with the ? operator. This is what the Try[^1] trait is aiming to solve, but it's not st
by dicytea 1y ago
> I could of course create my own type for this, but then it won’t work with the ? operator.
This is what the Try[^1] trait is aiming to solve, but it's not stabilized yet.
[^1]: https://rust-lang.github.io/rfcs/3058-try-trait-v2.html https://rust-lang.github.io/rfcs/3058-try-trait-v2.html