Skip to content

Commit f8ecf59

Browse files
authored
Merge pull request #84 from philer/patch-1
2 parents ed5312e + c297f72 commit f8ecf59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ match(...)
591591
.run()
592592
```
593593

594-
Runs the pattern-matching expression and returns its result.
594+
Runs the pattern-matching expression and returns its result. It throws an error at run time if no match was found, same as `exhaustive()`. However, unlike `.exhaustive()`, exhaustiveness is not checked at compile time, meaning the type checker will not verify that all possible cases are covered.
595595

596596
#### Signature
597597

0 commit comments

Comments
 (0)