Skip to content

Commit faab03e

Browse files
committed
Update improvements.md
1 parent ee6ea9d commit faab03e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/errata/improvements.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ I will also add a note to tell readers that in *Chapter 4* they will learn how t
325325

326326
# Page 127 - Pattern matching with the if statement
327327

328-
I will rewrite this section to add a second example and mention that I will use this technique in later chapters. See also [Using is to check a type](#page-353---using-is-to-check-a-type).
328+
I will rewrite this section to emphasise that the statement does two things: (a) checks the type and (b) assigns if true, and include that the scope of the variable is the `if` statement. I will also note that I will use this technique in later chapters so keep this in mind. See also [Using is to check a type](#page-353---using-is-to-check-a-type).
329329

330330
# Page 131 - Pattern matching with the switch statement
331331

0 commit comments

Comments
 (0)