Skip to content

Commit

Permalink
book: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
salty-horse committed Dec 26, 2015
1 parent 3150ddd commit d6d949a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/references-and-borrowing.md
Original file line number Diff line number Diff line change
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 d6d949a

Please sign in to comment.