Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
taig committed Sep 26, 2023
1 parent 30acfea commit bec9d28
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ lazy val core = crossProject(JVMPlatform, JSPlatform)
"-source:future" ::
"-rewrite" ::
"-new-syntax" ::
"-Wvalue-discard" ::
"-Wunused:all" ::
Nil,
libraryDependencies ++=
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package io.taig.enumeration.ext

import cats.{Hash, Show}
import cats.syntax.all.*
import io.circe.{Codec, Decoder, Encoder}

trait circe:

implicit def decodeMapping[A, B](using mapping: Mapping[A, B], decoder: Decoder[B])(using Show[B]): Decoder[A] =
decoder.emap: b =>
mapping
Expand Down

0 comments on commit bec9d28

Please sign in to comment.