Auto merge of - fbergr:master, r=GuillaumeGomez

doc: Fix typo
This commit is contained in:
bors 2016-06-13 12:51:42 -07:00 committed by GitHub
commit 2e8156cfba

@ -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