3 ms·
> Let's hope developers don't abuse std::catch_panic for > regular Rust code. This has been taken into account on multiple occasions, and the developers hav
by kibwen 11y ago
> Let's hope developers don't abuse std::catch_panic for
> regular Rust code.
This has been taken into account on multiple occasions, and the developers have introduced mechanisms to prevent people from treating `recover` as a general error-handling mechanism: https://github.com/rust-lang/rfcs/pull/1323 https://github.com/rust-lang/rfcs/pull/1323