Update lifetimes.md

Add a comment that would have made the reading smoother for me, at least.
pull/372/head
zhenya-1007 2 years ago committed by GitHub
parent f37e0b25f0
commit 6018eccdf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)
}
}
}

Loading…
Cancel
Save