File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 5e22fb9c7f94c76e1e7e17709884198ec4ba3fcb
2
+ refs/heads/master: 00d71087e5caeacf264f4b57b198be32afda6914
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change @@ -751,10 +751,7 @@ match my_number {
751
751
If the arm with the wildcard pattern was left off in the above
752
752
example, the typechecker would reject it at compile time. ` match `
753
753
constructs must be exhaustive: they must have an arm covering every
754
- possible case. (You may use the ` match check ` construct to write a
755
- non-exhaustive match, but it's highly undesirable to do so. You may
756
- reason that the missing cases will never occur, but the typechecker
757
- provides you with no assurance that your reasoning is correct.)
754
+ possible case.
758
755
759
756
A powerful application of pattern matching is * destructuring* , where
760
757
you use the matching to get at the contents of data types. Remember
@@ -850,8 +847,6 @@ task failure:
850
847
851
848
* Accessing an out-of-bounds element of a vector.
852
849
853
- * Having no clauses match when evaluating an ` match check ` expression.
854
-
855
850
* An assertion failure.
856
851
857
852
* Integer division by zero.
You can’t perform that action at this time.
0 commit comments