rename typo "lifetime" to "reference" (#286)

Co-authored-by: evan l00 <evan_l00@qq.com>
pull/288/head
Evan Lu 3 years ago committed by GitHub
parent 3bdccf4402
commit 5de61f9784
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -218,7 +218,7 @@ are too dumb.
## The area covered by a lifetime
The lifetime (sometimes called a *borrow*) is *alive* from the place it is
A reference (sometimes called a *borrow*) is *alive* from the place it is
created to its last use. The borrowed thing needs to outlive only borrows that
are alive. This looks simple, but there are few subtleties.

Loading…
Cancel
Save