Skip to content

Commit 607991c

Browse files
authored
Update docs/_docs/reference/new-types/union-types.md
1 parent f282bbf commit 607991c

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
@@ -8,7 +8,7 @@ A union type `A | B` includes all values of both types.
88

99

1010
```scala sc-name:id
11-
opaque type Hash = Int
11+
type Hash = Int
1212
def lookupName(name: String) = ???
1313
def lookupPassword(hash: Hash) = ???
1414

0 commit comments

Comments
 (0)