3 ms·
You don't, unless they pass it to you (as a return value or function argument).
by Munksgaard 8y ago
You don't, unless they pass it to you (as a return value or function argument).
- alrz 8y agoOr if the borrow doesn't outlive the source e.g. if a local goes out of scope.