Merge pull request #175 from alfiedotwtf/patch-1

Removed duplicate "the"
This commit is contained in:
Carol Nichols
2016-08-06 13:57:45 -04:00
committed by GitHub
+1 -1
View File
@@ -377,7 +377,7 @@ and missing some items.
For example, in the previous code that uses the `while` loop, if we removed an 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 < 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 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. array.
If you're wondering about the `.iter()` code in this example, keep reading! We If you're wondering about the `.iter()` code in this example, keep reading! We