Skip to content

Commit 9b70ed3

Browse files
Merge pull request #200 from ykomatsu/typo
Fix a typo
2 parents f7e4ebe + 334a040 commit 9b70ed3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nostarch/chapter03.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ This gets rid of a lot of nesting that would be necessary if we used `loop`,
12091209
`if`, `else`, and `break`, and it's more clear. While a condition holds, run
12101210
this code; otherwise, exit the loop.
12111211
1212-
#### Looping Though a Collection with `for`
1212+
#### Looping Through a Collection with `for`
12131213
12141214
We could use this `while` construct to loop over the elements of a collection,
12151215
like an array. For example:

src/ch03-05-control-flow.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ This gets rid of a lot of nesting that would be necessary if we used `loop`,
314314
`if`, `else`, and `break`, and it's more clear. While a condition holds, run
315315
this code; otherwise, exit the loop.
316316
317-
#### Looping Though a Collection with `for`
317+
#### Looping Through a Collection with `for`
318318
319319
We could use this `while` construct to loop over the elements of a collection,
320320
like an array. For example:

0 commit comments

Comments
 (0)