Re:Overhead of Returning Optional Values in Java and Rust
by brabel on Monday October 18, 2021 @07:22AM
(#28904294)
Ah, right... but as far as I know, it's the exact same behaviour, at least currently... reading the docs for the try macro, however, is what made me finally understand the behaviour of the `?` operator (e.g. how it can "magically" convert error types).
https://doc.rust-lang.org/std/ops/trait.Try.html