book: Fix typo
This commit is contained in:
parent
3150dddb0f
commit
d6d949a62a
@ -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,
|
only given references to the elements. And `v` is itself borrowed as immutable,
|
||||||
which means we can’t change it while we’re iterating:
|
which means we can’t change it while we’re iterating:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user