3 ms·
Rust by default doesn't do reference counting. You can opt into reference counting with `std::rc::Rc`. (You can even opt into mark-and-sweep GC using the `gc`
by MForster 3y ago
Rust by default doesn't do reference counting.
You can opt into reference counting with `std::rc::Rc`.
(You can even opt into mark-and-sweep GC using the `gc` crate, but this isn't done much...).