We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a6caf commit 3dffa1eCopy full SHA for 3dffa1e
src/scope/lifetime/explicit.md
@@ -43,7 +43,7 @@ fn failed_borrow<'a>() {
43
let _y: &'a i32 = &_x;
44
// Attempting to use the lifetime `'a` as an explicit type annotation
45
// inside the function will fail because the lifetime of `&_x` is shorter
46
- // than that of `y`. A short lifetime cannot be coerced into a longer one.
+ // than that of `_y`. A short lifetime cannot be coerced into a longer one.
47
}
48
49
fn main() {
0 commit comments