diff --git a/src/pages/labelled-generic/products.md b/src/pages/labelled-generic/products.md index 71c7da9..ce16c35 100644 --- a/src/pages/labelled-generic/products.md +++ b/src/pages/labelled-generic/products.md @@ -235,7 +235,7 @@ implicit def genericObjectEncoder[A, H]( implicit generic: LabelledGeneric.Aux[A, H], hEncoder: Lazy[JsonObjectEncoder[H]] -): JsonEncoder[A] = +): JsonObjectEncoder[A] = createObjectEncoder { value => hEncoder.value.encode(generic.to(value)) }