From cf9c095fc7449f9fb155191b5d0a6a0cd7602bfa Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sat, 6 Aug 2016 18:02:15 +0000 Subject: [PATCH] rebuild pages at 8653fed --- ch03-05-control-flow.html | 2 +- print.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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