We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada57a3 commit b04860cCopy full SHA for b04860c
src/pat-exhaustive-checking.md
@@ -37,7 +37,8 @@ match x {
37
38
Thus usefulness is used for two purposes:
39
detecting unreachable code (which is useful to the user),
40
-and ensuring that matches are exhaustive (which is important for soundness).
+and ensuring that matches are exhaustive (which is important for soundness,
41
+because a match expression can return a value).
42
43
## Where it happens
44
0 commit comments