diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/references-and-borrowing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/references-and-borrowing.md b/src/doc/trpl/references-and-borrowing.md index c434371ce59..bb5adac5ebf 100644 --- a/src/doc/trpl/references-and-borrowing.md +++ b/src/doc/trpl/references-and-borrowing.md @@ -297,7 +297,7 @@ We can’t modify `v` because it’s borrowed by the loop. References must live as long as the resource they refer to. Rust will check the scopes of your references to ensure that this is true. -If Rust didn’t check that this property, we could accidentally use a reference +If Rust didn’t check this property, we could accidentally use a reference which was invalid. For example: ```rust,ignore |
