Skip to content

Commit

Permalink
Eliminate more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 25, 2025
1 parent c06c636 commit 6716bf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/nettlesome.EmailAddress.scala
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ case class EmailAddress
case LocalPart.Unquoted(unquoted) => unquoted

val remote = domain.absolve match
case host: Hostname => host.show
case ipv4: Ipv4 => ipv4.show
case ipv6: Ipv6 => ipv6.show
case host: Hostname => host.show
case ipv4: (Ipv4 @unchecked) => ipv4.show
case ipv6: Ipv6 => ipv6.show

val address = t"$local@$remote"

Expand Down

0 comments on commit 6716bf4

Please sign in to comment.