Skip to content

Commit

Permalink
Update lifetimes.md
Browse files Browse the repository at this point in the history
Add a comment that would have made the reading smoother for me, at least.
  • Loading branch information
zhenya-1007 authored Jun 30, 2022
1 parent f37e0b2 commit 6018ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lifetimes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 6018ecc

Please sign in to comment.