Skip to content

Commit c104e9b

Browse files
authored
Merge pull request #9777 from ansvonwa/patch-2
Fix format in union-types-spec.md
2 parents b226ff1 + 3c4a246 commit c104e9b

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)