diff options
| author | bors <bors@rust-lang.org> | 2016-06-13 12:51:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-13 12:51:42 -0700 |
| commit | 2e8156cfba9b7aabf427a9902361fe693f8e9796 (patch) | |
| tree | 2b9530442d0fc87fc7e3db06791024a5d4918f4c | |
| parent | c0df44708e09187ca5e76fe4b832815ff562e8ea (diff) | |
| parent | 4e0fd65d96045c64481131b30d2fdff09d0042a5 (diff) | |
| download | rust-2e8156cfba9b7aabf427a9902361fe693f8e9796.tar.gz rust-2e8156cfba9b7aabf427a9902361fe693f8e9796.zip | |
Auto merge of #34259 - fbergr:master, r=GuillaumeGomez
doc: Fix typo
| -rw-r--r-- | src/doc/book/references-and-borrowing.md | 2 |
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 a28f450c942..ef339a14309 100644 --- a/src/doc/book/references-and-borrowing.md +++ b/src/doc/book/references-and-borrowing.md @@ -85,7 +85,7 @@ fn main() { fn sum_vec(v: &Vec<i32>) -> i32 { return v.iter().fold(0, |a, &b| a + b); } - // Borrow two vectors and and sum them. + // Borrow two vectors and sum them. // This kind of borrowing does not allow mutation to the borrowed. fn foo(v1: &Vec<i32>, v2: &Vec<i32>) -> i32 { // do stuff with v1 and v2 |
