Skip to content

Commit 7378da1

Browse files
authored
Merge pull request #377 from edoardocostantinidev/typo/lifetime-mismatch
[typo] typo on limits of lifetime chapter
2 parents 8d1e4dc + 37be7ea commit 7378da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lifetime-mismatch.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ care about, but the lifetime system is too coarse-grained to handle that.
7676
The following code fails to compile, because Rust sees that a variable, `map`,
7777
is borrowed twice, and can not infer that the first borrow stops to be needed
7878
before the second one occurs. This is caused by Rust conservatively falling back
79-
to using a whole scope for the first borow. This will eventually get fixed.
79+
to using a whole scope for the first borrow. This will eventually get fixed.
8080

8181
```rust,compile_fail
8282
# use std::collections::HashMap;

0 commit comments

Comments
 (0)