Skip to content

Commit dd37e21

Browse files
authored
Update lifetime-mismatch.md (#387)
Fix sentence grammar
1 parent ae406aa commit dd37e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lifetime-mismatch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fn main() {
6565

6666
The lifetime system is forced to extend the `&mut foo` to have lifetime `'c`,
6767
due to the lifetime of `loan` and `mutate_and_share`'s signature. Then when we
68-
try to call `share`, and it sees we're trying to alias that `&'c mut foo` and
68+
try to call `share`, it sees we're trying to alias that `&'c mut foo` and
6969
blows up in our face!
7070

7171
This program is clearly correct according to the reference semantics we actually

0 commit comments

Comments
 (0)