3 ms·
`Box` won't leak, but `Rc` is just simple reference counting and can leak if you don't use weak pointers to break cycles.
by kibwen 12y ago
`Box` won't leak, but `Rc` is just simple reference counting and can leak if you don't use weak pointers to break cycles.