Skip to content

Commit 5de61f9

Browse files
authored
rename typo "lifetime" to "reference" (#286)
Co-authored-by: evan l00 <evan_l00@qq.com>
1 parent 3bdccf4 commit 5de61f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lifetimes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ are too dumb.
218218

219219
## The area covered by a lifetime
220220

221-
The lifetime (sometimes called a *borrow*) is *alive* from the place it is
221+
A reference (sometimes called a *borrow*) is *alive* from the place it is
222222
created to its last use. The borrowed thing needs to outlive only borrows that
223223
are alive. This looks simple, but there are few subtleties.
224224

0 commit comments

Comments
 (0)