Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnu-liguobin committed Mar 2, 2024
1 parent 59603af commit eba83bc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/scala-3/com/typesafe/scalalogging/LoggerMacro.scala
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,7 @@ private[scalalogging] object LoggerMacro {
def map(term: Term) = {
term match {
case t if t.tpe <:< TypeRepr.of[AnyRef] => t.asExprOf[AnyRef]
case t => '{
${
t.asExpr
}.asInstanceOf[AnyRef]
}
case t => '{ ${ t.asExpr }.asInstanceOf[AnyRef] }
}
}

Expand Down

0 comments on commit eba83bc

Please sign in to comment.