Skip to content

Commit f37e0b2

Browse files
authored
Update lifetimes.md
Get rid of the obviously wrong (and potentially confusing) double lifetime annotation. My guess as to the etiology is an errant copy-and-paste.
1 parent 70db9e4 commit f37e0b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lifetimes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ likely desugar to the following:
5555
let y: &'b i32 = &'b x;
5656
'c: {
5757
// ditto on 'c
58-
let z: &'c &'b i32 = &'c y;
58+
let z: &'c i32 = &'c y;
5959
}
6060
}
6161
}

0 commit comments

Comments
 (0)