Skip to content

Commit 3dffa1e

Browse files
authored
Code review change request
1 parent 42a6caf commit 3dffa1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scope/lifetime/explicit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn failed_borrow<'a>() {
4343
let _y: &'a i32 = &_x;
4444
// Attempting to use the lifetime `'a` as an explicit type annotation
4545
// 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.
46+
// than that of `_y`. A short lifetime cannot be coerced into a longer one.
4747
}
4848
4949
fn main() {

0 commit comments

Comments
 (0)