From 09a473ea7bd85361af971e2f66ec23cfe1d62362 Mon Sep 17 00:00:00 2001 From: Chris Hellmuth Date: Sun, 17 May 2015 00:19:53 -0700 Subject: [PATCH] Fix typo in references-and-borrowing docs --- src/doc/trpl/references-and-borrowing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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