book: Fix typo
This commit is contained in:
parent
3150dddb0f
commit
d6d949a62a
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue