Skip to content

Commit

Permalink
scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Podsiadlo authored and lbialy committed May 10, 2024
1 parent ba27212 commit 268d965
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ object YamlEncoder extends YamlEncoderCrossCompanionCompat {

given [T](using encoder: YamlEncoder[T]): YamlEncoder[Option[T]] = {
case Some(t) => encoder.asNode(t)
case None => Node.ScalarNode("", Tag.nullTag)
case None => Node.ScalarNode("", Tag.nullTag)
}

implicit def forSet[T](implicit encoder: YamlEncoder[T]): YamlEncoder[Set[T]] = (nodes) =>
Expand Down

0 comments on commit 268d965

Please sign in to comment.