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.
2 parents a1d7db2 + a3dfeb8 commit f1eba24Copy full SHA for f1eba24
docs/docs/reference/union-types.md
@@ -13,7 +13,7 @@ case class Password(hash: Hash) {
13
def lookup(admin: Admin): UserData
14
}
15
16
-def help(id: UserName | PassWord) = {
+def help(id: UserName | Password) = {
17
val user = id match {
18
case UserName(name) => lookupName(name)
19
case Password(hash) => lookupPassword(hash)
0 commit comments