We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9f9e80 + c523261 commit b22afe9Copy full SHA for b22afe9
src/doc/complement-design-faq.md
@@ -95,7 +95,7 @@ code should need to run is a stack.
95
`match` being exhaustive has some useful properties. First, if every
96
possibility is covered by the `match`, adding further variants to the `enum`
97
in the future will prompt a compilation failure, rather than runtime panic.
98
-Second, it makes cost explicit. In general, only safe way to have a
+Second, it makes cost explicit. In general, the only safe way to have a
99
non-exhaustive match would be to panic the task if nothing is matched, though
100
it could fall through if the type of the `match` expression is `()`. This sort
101
of hidden cost and special casing is against the language's philosophy. It's
0 commit comments