Skip to content

Commit d6d949a

Browse files
committed
book: Fix typo
1 parent 3150ddd commit d6d949a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/references-and-borrowing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ for i in &v {
263263
}
264264
```
265265

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

0 commit comments

Comments
 (0)