Skip to content

Commit 79d9121

Browse files
authored
docs: Fix a typo in Match Types
1 parent 842e4c4 commit 79d9121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/new-types/match-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Here `=:=` is understood to mean that left and right hand sides are mutually sub
2323

2424
In general, a match type is of the form
2525
```scala
26-
S match { P1 => Tn ... Pn => Tn }
26+
S match { P1 => T1 ... Pn => Tn }
2727
```
2828
where `S`, `T1`, ..., `Tn` are types and `P1`, ..., `Pn` are type patterns. Type variables
2929
in patterns start as usual with a lower case letter.

0 commit comments

Comments
 (0)