about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter N <spacey-github.com@ssr.com>2016-09-26 22:38:45 -0400
committerGitHub <noreply@github.com>2016-09-26 22:38:45 -0400
commitc30eb31f9bf4e0023791bb82b855700450b68c3b (patch)
tree848cfb0cc0b167f1b6e94cf07ff924396d19bea4
parent0a72b4dc9fa6f32483bdce84bd5f64164cc1787d (diff)
downloadrust-c30eb31f9bf4e0023791bb82b855700450b68c3b.tar.gz
rust-c30eb31f9bf4e0023791bb82b855700450b68c3b.zip
Use "through"
-rw-r--r--src/doc/book/references-and-borrowing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/references-and-borrowing.md b/src/doc/book/references-and-borrowing.md
index b9ccad06083..d845ad6feb0 100644
--- a/src/doc/book/references-and-borrowing.md
+++ b/src/doc/book/references-and-borrowing.md
@@ -86,7 +86,7 @@ fn main() {
         return v.iter().fold(0, |a, &b| a + b);
     }
     // Borrow two vectors and sum them.
-    // This kind of borrowing does not allow mutation to the borrowed reference.
+    // This kind of borrowing does not allow mutation through the borrowed reference.
     fn foo(v1: &Vec<i32>, v2: &Vec<i32>) -> i32 {
         // do stuff with v1 and v2
         let s1 = sum_vec(v1);