Skip to content

Commit

Permalink
rename typo "lifetime" to "reference" (#286)
Browse files Browse the repository at this point in the history
Co-authored-by: evan l00 <[email protected]>
  • Loading branch information
Celthi and Celthi authored Jun 29, 2021
1 parent 3bdccf4 commit 5de61f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lifetimes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 5de61f9

Please sign in to comment.