3 ms·
Memory management is tangential to borrowing. I think scope is a great word, because my own important insight was that "lifetimes" represent the scope a borrow
by kzrdude 12y ago
Memory management is tangential to borrowing.
I think scope is a great word, because my own important insight was that "lifetimes" represent the scope a borrowed reference lives in -- it's not really about the life of the value you borrow from.
Yes if you have a lifetime 'a, it will correspond to some reference on the stack in a scope somewhere up the callchain.
- deleted 12y ago[deleted]