From 62673ee45be9fc91d4b0e295bb470b217d68dd5b Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Fri, 10 Sep 2021 13:09:55 -0700 Subject: [PATCH] Clarify a bit of wording --- src/lifetimes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lifetimes.md b/src/lifetimes.md index 0a68a287..b35a8c65 100644 --- a/src/lifetimes.md +++ b/src/lifetimes.md @@ -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