Skip to content

Commit b9ce031

Browse files
Merge pull request #8421 from DaniRey/patch-1
Use correct noun
2 parents 7f579a4 + 7d64280 commit b9ce031

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
@@ -40,7 +40,7 @@ val either: Password | UserName = UserName(Eve)
4040
```
4141

4242
The type of `res2` is `Object & Product`, which is a supertype of
43-
`UserName` and `Product`, but not the least supertype `Password |
43+
`UserName` and `Password`, but not the least supertype `Password |
4444
UserName`. If we want the least supertype, we have to give it
4545
explicitly, as is done for the type of `either`.
4646

0 commit comments

Comments
 (0)