Skip to content

Commit

Permalink
Fix names for EnumerationCodec instances
Browse files Browse the repository at this point in the history
  • Loading branch information
travisbrown committed Aug 13, 2019
1 parent c39c10f commit b7f5302
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -13,7 +13,7 @@ object EnumerationCodec {
def apply(a: CNil): Json = sys.error("Cannot encode CNil")
}

implicit def decodeEnumerationCCons[K <: Symbol, V, R <: Coproduct](
implicit def codecForEnumerationCCons[K <: Symbol, V, R <: Coproduct](
implicit
witK: Witness.Aux[K],
gen: LabelledGeneric.Aux[V, HNil],
Expand All @@ -37,7 +37,7 @@ object EnumerationCodec {
}
}

implicit def decodeEnumeration[A, R <: Coproduct](
implicit def codecForEnumeration[A, R <: Coproduct](
implicit
gen: LabelledGeneric.Aux[A, R],
codecForR: EnumerationCodec[R]
Expand Down

0 comments on commit b7f5302

Please sign in to comment.