Skip to content

Commit

Permalink
Use MessageShow instead of AsMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Sep 3, 2023
1 parent c0b3771 commit d1693da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/timezone.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import scala.io.*
//import language.experimental.captureChecking

object TzdbError:
given AsMessage[Reason] =
given MessageShow[Reason] =
case Reason.CouldNotParseTime(time) => msg"could not parse time $time"
case Reason.UnexpectedRule => msg"unexpected rule"
case Reason.UnexpectedLink => msg"unexpected link"
Expand Down

0 comments on commit d1693da

Please sign in to comment.