3 ms·
So how has it? I was not aware it has changed (also I dont need the changes, as I use Rust for more highlevel stuff)
by cies 6y ago
So how has it? I was not aware it has changed (also I dont need the changes, as I use Rust for more highlevel stuff)
- littlestymaar 6y agoThere are new methods returning a Result instead of panicking, slowly being implemented for all allocating collections in the standard library. see https://github.com/rust-lang/rust/issues/48043 https://github.com/rust-lang/rust/issues/48043 and https://github.com/rust-lang/rust/pull/80310 https://github.com/rust-lang/rust/pull/80310
- cies 6y agoLike what was mentioned in the linked thread, the "try_*" functions. This is what Zig has as default behavior.