From 334a040a1b2c13ade65476854d95b68d51fe3bc5 Mon Sep 17 00:00:00 2001 From: Yoshito Komatsu Date: Thu, 18 Aug 2016 07:33:01 +0000 Subject: [PATCH] Fix a typo --- nostarch/chapter03.md | 2 +- src/ch03-05-control-flow.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nostarch/chapter03.md b/nostarch/chapter03.md index 9fab1ab..f5ab796 100644 --- a/nostarch/chapter03.md +++ b/nostarch/chapter03.md @@ -1209,7 +1209,7 @@ This gets rid of a lot of nesting that would be necessary if we used `loop`, `if`, `else`, and `break`, and it's more clear. While a condition holds, run this code; otherwise, exit the loop. -#### Looping Though a Collection with `for` +#### Looping Through a Collection with `for` We could use this `while` construct to loop over the elements of a collection, like an array. For example: diff --git a/src/ch03-05-control-flow.md b/src/ch03-05-control-flow.md index 9fe780e..f5ead18 100644 --- a/src/ch03-05-control-flow.md +++ b/src/ch03-05-control-flow.md @@ -314,7 +314,7 @@ This gets rid of a lot of nesting that would be necessary if we used `loop`, `if`, `else`, and `break`, and it's more clear. While a condition holds, run this code; otherwise, exit the loop. -#### Looping Though a Collection with `for` +#### Looping Through a Collection with `for` We could use this `while` construct to loop over the elements of a collection, like an array. For example: