Skip to content

Commit

Permalink
Merge pull request #76 from lenguyenthanh/better-given-syntax
Browse files Browse the repository at this point in the history
Better given syntax
  • Loading branch information
ornicar authored Dec 29, 2024
2 parents 097e368 + ead8ec2 commit cffb4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/Render.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit cffb4c7

Please sign in to comment.