diff options
| author | bors <bors@rust-lang.org> | 2015-12-27 01:00:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-12-27 01:00:53 +0000 |
| commit | 2ced1499254008e89166432a59470d7809871ad8 (patch) | |
| tree | e67ca19898d25e1ea6258642e4d5a593aaa80fcb /src | |
| parent | 0c7c94e8a0d305a7e79369201e4a2f0125628dca (diff) | |
| parent | d6d949a62a9f5a2b2961fb0d7e0acffba700fad7 (diff) | |
| download | rust-2ced1499254008e89166432a59470d7809871ad8.tar.gz rust-2ced1499254008e89166432a59470d7809871ad8.zip | |
Auto merge of #30566 - salty-horse:doc_typo, r=apasel422
Small typo. vectors -> vector.
Diffstat (limited to 'src')
| -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: |
