Skip to content

Commit 169342f

Browse files
committed
---
yaml --- r: 23478 b: refs/heads/master c: 00d7108 h: refs/heads/master v: v3
1 parent 462470c commit 169342f

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 5e22fb9c7f94c76e1e7e17709884198ec4ba3fcb
2+
refs/heads/master: 00d71087e5caeacf264f4b57b198be32afda6914
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/doc/tutorial.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -751,10 +751,7 @@ match my_number {
751751
If the arm with the wildcard pattern was left off in the above
752752
example, the typechecker would reject it at compile time. `match`
753753
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.
758755

759756
A powerful application of pattern matching is *destructuring*, where
760757
you use the matching to get at the contents of data types. Remember
@@ -850,8 +847,6 @@ task failure:
850847

851848
* Accessing an out-of-bounds element of a vector.
852849

853-
* Having no clauses match when evaluating an `match check` expression.
854-
855850
* An assertion failure.
856851

857852
* Integer division by zero.

0 commit comments

Comments
 (0)