From ead8ec2c88ea93f91d750782e439185f90311901 Mon Sep 17 00:00:00 2001 From: Thanh Le Date: Sun, 29 Dec 2024 08:04:50 +0700 Subject: [PATCH] Better given syntax --- core/src/main/scala/Render.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/scala/Render.scala b/core/src/main/scala/Render.scala index f32faf1..661176a 100644 --- a/core/src/main/scala/Render.scala +++ b/core/src/main/scala/Render.scala @@ -15,4 +15,4 @@ object Render: /* If we have Render, we have Show; * but not the other way around. */ - given [A] => Render[A] => cats.Show[A] = cats.Show.show(_.render) + given [A: Render] => cats.Show[A] = cats.Show.show(_.render)