The lifetime (sometimes called a borrow) is alive from the place it is created to its last use.
But at the beginning of the page, it says
Lifetimes are named regions of code that a reference must be valid for.
Combining these two sentences, the named region of code is alive from the place it is created to its last use. I don't get the idea of this combined sentence. Is the "lifetime is alive" actually "reference is alive"?
This line says
But at the beginning of the page, it says
Combining these two sentences, the named region of code is alive from the place it is created to its last use. I don't get the idea of this combined sentence. Is the "lifetime is alive" actually "reference is alive"?