Skip to content

Commit f1eba24

Browse files
Merge pull request #2660 from dotty-staging/fix-doc-typo
Fix typo in doc
2 parents a1d7db2 + a3dfeb8 commit f1eba24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/union-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ case class Password(hash: Hash) {
1313
def lookup(admin: Admin): UserData
1414
}
1515

16-
def help(id: UserName | PassWord) = {
16+
def help(id: UserName | Password) = {
1717
val user = id match {
1818
case UserName(name) => lookupName(name)
1919
case Password(hash) => lookupPassword(hash)

0 commit comments

Comments
 (0)