Skip to content

Commit

Permalink
Clarify a bit of wording (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
camelid committed Sep 19, 2021
1 parent fe6227e commit 2747c4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lifetimes.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ are too dumb.
## The area covered by a lifetime

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.
created to its last use. The borrowed value needs to outlive only borrows that
are alive. This looks simple, but there are a few subtleties.

The following snippet compiles, because after printing `x`, it is no longer
needed, so it doesn't matter if it is dangling or aliased (even though the
Expand Down

0 comments on commit 2747c4b

Please sign in to comment.