Skip to content

Commit 3c4a246

Browse files
authored
Fix format in union-types-spec.md
1 parent b226ff1 commit 3c4a246

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/docs/reference/new-types/union-types-spec.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ trait A extends C with D
134134
trait B extends C with E
135135

136136
def test(x: A | B) = x.hello // ok as `hello` is a member of the join of A | B which is C
137+
```
137138

138139
## Exhaustivity checking
139140

0 commit comments

Comments
 (0)