From f37e0b25f0c6ea13d36e28f89e68f91bed96eb5a Mon Sep 17 00:00:00 2001 From: zhenya-1007 <102388922+zhenya-1007@users.noreply.github.com> Date: Wed, 29 Jun 2022 13:50:35 -0700 Subject: [PATCH] Update lifetimes.md Get rid of the obviously wrong (and potentially confusing) double lifetime annotation. My guess as to the etiology is an errant copy-and-paste. --- src/lifetimes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lifetimes.md b/src/lifetimes.md index ef86b7b..67595a0 100644 --- a/src/lifetimes.md +++ b/src/lifetimes.md @@ -55,7 +55,7 @@ likely desugar to the following: let y: &'b i32 = &'b x; 'c: { // ditto on 'c - let z: &'c &'b i32 = &'c y; + let z: &'c i32 = &'c y; } } }