diff options
| author | Ori Avtalion <ori@avtalion.name> | 2015-12-26 22:29:02 +0200 |
|---|---|---|
| committer | Ori Avtalion <ori@avtalion.name> | 2015-12-26 22:29:02 +0200 |
| commit | d6d949a62a9f5a2b2961fb0d7e0acffba700fad7 (patch) | |
| tree | 41d237ee66156ad1f0c01dc71878db554fc82ba8 | |
| parent | 3150dddb0f2f6c84f2355db324794eecab6a3299 (diff) | |
book: 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 d8758e0c695..546636720ca 100644 --- a/src/doc/book/references-and-borrowing.md +++ b/src/doc/book/references-and-borrowing.md @@ -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: |
