Skip to content

Commit 5a49974

Browse files
committed
Address compilation warning.
1 parent 6769dd2 commit 5a49974

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xpath-to-xml-scala/src/main/scala-3+/com/github/simy4/xpath/scala/xpath/ToXPathLiteral.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ package scala.xpath
1818

1919
import expr.Expr
2020

21+
import _root_.scala.annotation.unused
22+
2123
trait ToXPathLiteral:
22-
extension (inline sc: StringContext) inline def xpath(inline args: Any*): Expr = ${ XPathLiteral.xpathImpl('sc) }
24+
extension (inline sc: StringContext)
25+
inline def xpath(@unused inline args: Any*): Expr = ${ XPathLiteral.xpathImpl('sc) }

0 commit comments

Comments
 (0)