Skip to content

Commit ddd477c

Browse files
committed
Update union-types.md
This is not very readable, "A union type `A | B` has as values all values". So update it.
1 parent 848aeda commit ddd477c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Union Types"
44
nightlyOf: https://docs.scala-lang.org/scala3/reference/new-types/union-types.html
55
---
66

7-
A union type `A | B` has as values all values of type `A` and also all values of type `B`.
7+
A union type `A | B` includes all values of both types.
88

99

1010
```scala

0 commit comments

Comments
 (0)