Merge pull request #4168 from damoasda/ch06-02-fix

Fix chapter number
This commit is contained in:
Chris Krycho
2024-12-18 15:49:08 -07:00
committed by GitHub
+1 -1
View File
@@ -8,7 +8,7 @@ Rust has an extremely powerful control flow construct called `match` that
allows you to compare a value against a series of patterns and then execute
code based on which pattern matches. Patterns can be made up of literal values,
variable names, wildcards, and many other things; [Chapter
18][ch19-00-patterns]<!-- ignore --> covers all the different kinds of patterns
19][ch19-00-patterns]<!-- ignore --> covers all the different kinds of patterns
and what they do. The power of `match` comes from the expressiveness of the
patterns and the fact that the compiler confirms that all possible cases are
handled.