3 ms·
> There are no memory leaks at the language level in Rust Rust absolutely can leak memory, trivially. There's even a function that does it, http://doc.rust-lan
by steveklabnik 11y ago
> There are no memory leaks at the language level in Rust
Rust absolutely can leak memory, trivially. There's even a function that does it, http://doc.rust-lang.org/stable/std/mem/fn.forget.html http://doc.rust-lang.org/stable/std/mem/fn.forget.html