We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3150ddd commit d6d949aCopy full SHA for d6d949a
src/doc/book/references-and-borrowing.md
@@ -263,7 +263,7 @@ for i in &v {
263
}
264
```
265
266
-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
267
only given references to the elements. And `v` is itself borrowed as immutable,
268
which means we can’t change it while we’re iterating:
269
0 commit comments