mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:14:32 -06:00
Merge pull request #175 from alfiedotwtf/patch-1
Removed duplicate "the"
This commit is contained in:
@@ -377,7 +377,7 @@ and missing some items.
|
||||
For example, in the previous code that uses the `while` loop, if we removed an
|
||||
item from the `a` array but forgot to update the condition to be `while index <
|
||||
4`, our code would panic. Using the `for` loop means we would not need to
|
||||
remember to change any other code if we changed the the number of values in the
|
||||
remember to change any other code if we changed the number of values in the
|
||||
array.
|
||||
|
||||
If you're wondering about the `.iter()` code in this example, keep reading! We
|
||||
|
||||
Reference in New Issue
Block a user