Skip to content

Commit 7a90386

Browse files
authored
Merge pull request #3704 from qualitysoftwareguy/patch_3703
Fix #3703
2 parents 529b9e0 + 8f79c36 commit 7a90386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch18-02-refutability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ the code in the curly brackets, giving it a way to continue validly. Listing
6161
patterns instead of `let`</span>
6262

6363
We’ve given the code an out! This code is perfectly valid, although it means we
64-
cannot use an irrefutable pattern without receiving an error. If we give `if
64+
cannot use an irrefutable pattern without receiving a warning. If we give `if
6565
let` a pattern that will always match, such as `x`, as shown in Listing 18-10,
6666
the compiler will give a warning.
6767

0 commit comments

Comments
 (0)