Skip to content

Commit 03fbddb

Browse files
authored
Merge pull request #386 from jamesreprise/patch-1
Grammar change for 3.4: Limits of Lifetimes (lifetime-mismatch.md)
2 parents 0553235 + 6570607 commit 03fbddb

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
@@ -74,7 +74,7 @@ care about, but the lifetime system is too coarse-grained to handle that.
7474
## Improperly reduced borrows
7575

7676
The following code fails to compile, because Rust sees that a variable, `map`,
77-
is borrowed twice, and can not infer that the first borrow stops to be needed
77+
is borrowed twice, and can not infer that the first borrow ceases to be needed
7878
before the second one occurs. This is caused by Rust conservatively falling back
7979
to using a whole scope for the first borrow. This will eventually get fixed.
8080

0 commit comments

Comments
 (0)