Skip to content

Commit

Permalink
Remove explicit passing of implicit param.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdziuban authored Jul 11, 2024
1 parent 2998bd9 commit 446b8b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main/resources/scalaxb.scala.template
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ trait AnyElemNameParser extends scala.util.parsing.combinator.Parsers {
accept("any", { case x: ElemName if x.name != "" && f(x) => x })

def optTextRecord(implicit format: XMLFormat[String]): Parser[Option[DataRecord[Any]]] =
opt(text ^^ (x => DataRecord(x.node.text)(format)))
opt(text ^^ (x => DataRecord(x.node.text)))

def text: Parser[ElemName] =
accept("text", { case x: ElemName if x.name == "" => x })
Expand Down

0 comments on commit 446b8b3

Please sign in to comment.