From cf9c095fc7449f9fb155191b5d0a6a0cd7602bfa Mon Sep 17 00:00:00 2001
From: Steve Klabnik
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