From 6018eccdf60dddc0a7753a8ace53431d5a5f5725 Mon Sep 17 00:00:00 2001 From: zhenya-1007 <102388922+zhenya-1007@users.noreply.github.com> Date: Thu, 30 Jun 2022 07:33:09 -0700 Subject: [PATCH] Update lifetimes.md Add a comment that would have made the reading smoother for me, at least. --- src/lifetimes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lifetimes.md b/src/lifetimes.md index 67595a0..f55ea8c 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 i32 = &'c y; + let z: &'c &'b i32 = &'c y; // "a reference to a reference to an i32" (with lifetimes annotated) } } }