From 5de61f9784c25c61934b3928cbdb6c76dc9262a6 Mon Sep 17 00:00:00 2001 From: Evan Lu Date: Tue, 29 Jun 2021 18:53:14 +0800 Subject: [PATCH] rename typo "lifetime" to "reference" (#286) Co-authored-by: evan l00 --- src/lifetimes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lifetimes.md b/src/lifetimes.md index 9d466c7..4d922a1 100644 --- a/src/lifetimes.md +++ b/src/lifetimes.md @@ -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.