Grammar change for lifetime-mismatch.md

"[...] stops to be needed [...]" -> "[...] ceases to be needed [...]"
pull/386/head
James Williams 2 years ago committed by GitHub
parent 05532356e7
commit 6570607bcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -74,7 +74,7 @@ care about, but the lifetime system is too coarse-grained to handle that.
## Improperly reduced borrows
The following code fails to compile, because Rust sees that a variable, `map`,
is borrowed twice, and can not infer that the first borrow stops to be needed
is borrowed twice, and can not infer that the first borrow ceases to be needed
before the second one occurs. This is caused by Rust conservatively falling back
to using a whole scope for the first borrow. This will eventually get fixed.

Loading…
Cancel
Save