We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 848aeda commit 3910b3dCopy full SHA for 3910b3d
docs/_docs/reference/new-types/union-types.md
@@ -4,7 +4,7 @@ title: "Union Types"
4
nightlyOf: https://docs.scala-lang.org/scala3/reference/new-types/union-types.html
5
---
6
7
-A union type `A | B` has as values all values of type `A` and also all values of type `B`.
+A union type `A | B` includes all values of both types.
8
9
10
```scala
0 commit comments