Skip to content

Commit

Permalink
Auto merge of #30566 - salty-horse:doc_typo, r=apasel422
Browse files Browse the repository at this point in the history
Small typo. vectors -> vector.
  • Loading branch information
bors committed Dec 27, 2015
2 parents 0c7c94e + d6d949a commit 2ced149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/references-and-borrowing.md
Expand Up @@ -263,7 +263,7 @@ for i in &v {
}
```

This prints out one through three. As we iterate through the vectors, we’re
This prints out one through three. As we iterate through the vector, we’re
only given references to the elements. And `v` is itself borrowed as immutable,
which means we can’t change it while we’re iterating:

Expand Down

0 comments on commit 2ced149

Please sign in to comment.