2 ms·
Rust goes to substantial lengths to allow unwinding from panics. For example, see how complicated `Vec::retain_mut` is. The complexity is due to the possibility
by ridiculous_fish 2y ago
Rust goes to substantial lengths to allow unwinding from panics. For example, see how complicated `Vec::retain_mut` is. The complexity is due to the possibility of a panic, and the need to unwind.
https://doc.rust-lang.org/1.80.1/src/alloc/vec/mod.rs.html#1705-1707 https://doc.rust-lang.org/1.80.1/src/alloc/vec/mod.rs.html#1...