Rollup merge of #25526 - chellmuth:patch-1, r=alexcrichton

This commit is contained in:
Manish Goregaokar 2015-05-18 08:55:37 +05:30
commit 6f2a069b9c

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