Fix typo in references-and-borrowing docs

This commit is contained in:
Chris Hellmuth 2015-05-17 00:19:53 -07:00
parent 4f83c4b851
commit 09a473ea7b

View File

@ -297,7 +297,7 @@ We cant modify `v` because its 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 didnt check that this property, we could accidentally use a reference
If Rust didnt check this property, we could accidentally use a reference
which was invalid. For example:
```rust,ignore