Skip to content

Commit

Permalink
Merge pull request #3704 from qualitysoftwareguy/patch_3703
Browse files Browse the repository at this point in the history
Fix #3703
  • Loading branch information
chriskrycho authored Mar 29, 2024
2 parents 529b9e0 + 8f79c36 commit 7a90386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch18-02-refutability.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ the code in the curly brackets, giving it a way to continue validly. Listing
patterns instead of `let`</span>

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

Expand Down

0 comments on commit 7a90386

Please sign in to comment.