From 2747c4bb2cbc0639b733793ddb0bf4e9daa2634e Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Sun, 19 Sep 2021 01:33:32 -0700 Subject: [PATCH] Clarify a bit of wording (#310) --- src/lifetimes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lifetimes.md b/src/lifetimes.md index 0a68a28..b35a8c6 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