]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in references-and-borrowing docs
authorChris Hellmuth <chellmuth@gmail.com>
Sun, 17 May 2015 07:19:53 +0000 (00:19 -0700)
committerChris Hellmuth <chellmuth@gmail.com>
Sun, 17 May 2015 07:19:53 +0000 (00:19 -0700)
src/doc/trpl/references-and-borrowing.md

index c434371ce59d319ed4044c15d80440b204fabb35..bb5adac5ebfc128751167856e94615e5f81da5c3 100644 (file)
@@ -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