about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-09-09 18:36:11 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-09-09 18:36:11 +0530
commitee00780b985b6953346eb2dfe60d364d8159a86f (patch)
tree8cbec213029c391f7224ebc599a7fec6242c0064
parentb33b121e9529c72ffa4528852a08c108304ca77a (diff)
parentca1a81df2388484ec6005b7c6ba8ba953c450bc7 (diff)
downloadrust-ee00780b985b6953346eb2dfe60d364d8159a86f.tar.gz
rust-ee00780b985b6953346eb2dfe60d364d8159a86f.zip
Rollup merge of #28295 - steveklabnik:language_fix, r=alexcrichton
Thanks Eric, reported via email
-rw-r--r--src/doc/trpl/references-and-borrowing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/references-and-borrowing.md b/src/doc/trpl/references-and-borrowing.md
index ed6a8cfefa7..50297b266d9 100644
--- a/src/doc/trpl/references-and-borrowing.md
+++ b/src/doc/trpl/references-and-borrowing.md
@@ -298,8 +298,8 @@ We can’t modify `v` because it’s borrowed by the loop.
 
 ### use after free
 
-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.
+References must not live longer than the resource they refer to. Rust will
+check the scopes of your references to ensure that this is true.
 
 If Rust didn’t check this property, we could accidentally use a reference
 which was invalid. For example: