4 ms·
Sure it does. The borrow checker is concerned about lifetimes, regardless of whether the object lives on the stack or the heap.
by dthul 7y ago
Sure it does. The borrow checker is concerned about lifetimes, regardless of whether the object lives on the stack or the heap.