2 ms·
> But Rust has no equivalent of handle: the convenience of the ? operator comes with the likely omission of proper handling. Additionally, Rust programs heavil
by epage 8y ago
> But Rust has no equivalent of handle: the convenience of the ? operator comes with the likely omission of proper handling.
Additionally, Rust programs heavily use "RAII", avoiding the need for `handle`.
But there is talk of adding support for `catch`.
See https://internals.rust-lang.org/t/pre-rfc-catching-functions/6505 https://internals.rust-lang.org/t/pre-rfc-catching-functions...