From 21b8a98fb0c0a6299d4fec740950754bef0b50d1 Mon Sep 17 00:00:00 2001 From: Marijn Schouten Date: Fri, 9 Dec 2022 10:45:43 +0100 Subject: [PATCH] Update lifetime-mismatch.md Fix sentence grammar --- src/lifetime-mismatch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lifetime-mismatch.md b/src/lifetime-mismatch.md index bc53f06f..ecb6cf20 100644 --- a/src/lifetime-mismatch.md +++ b/src/lifetime-mismatch.md @@ -65,7 +65,7 @@ fn main() { The lifetime system is forced to extend the `&mut foo` to have lifetime `'c`, due to the lifetime of `loan` and `mutate_and_share`'s signature. Then when we -try to call `share`, and it sees we're trying to alias that `&'c mut foo` and +try to call `share`, it sees we're trying to alias that `&'c mut foo` and blows up in our face! This program is clearly correct according to the reference semantics we actually