diff --git a/ch03-05-control-flow.html b/ch03-05-control-flow.html index 5bcc8daf1..31e7cc291 100644 --- a/ch03-05-control-flow.html +++ b/ch03-05-control-flow.html @@ -358,7 +358,7 @@ bugs resulting from going beyond the end of the array or not going far enough 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
will cover method syntax generally in Chapter XX and iterators specifically in
diff --git a/print.html b/print.html
index e03ce0716..70d637062 100644
--- a/print.html
+++ b/print.html
@@ -2138,7 +2138,7 @@ bugs resulting from going beyond the end of the array or not going far enough
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
will cover method syntax generally in Chapter XX and iterators specifically in