diff --git a/src/doc/book/references-and-borrowing.md b/src/doc/book/references-and-borrowing.md index a28f450c942af..ef339a1430989 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 { 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, v2: &Vec) -> i32 { // do stuff with v1 and v2