Skip to content

Commit

Permalink
removed nowarn
Browse files Browse the repository at this point in the history
  • Loading branch information
sirocchj committed Jan 21, 2025
1 parent c1b2e3c commit 04a8aff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/src/main/scala/log/effect/LogWriter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ package log.effect

import log.effect.internal.{Id, Show}

import scala.annotation.nowarn

trait LogWriter[F[_]] {
def write[A: Show](level: LogLevel, a: =>A): F[Unit]
}
Expand All @@ -51,11 +49,11 @@ private[effect] sealed trait LogWriterSyntax extends LogWriterAliasingSyntax {
}

private[effect] sealed trait LogWriterAliasingSyntax {
@nowarn implicit def logWriterSingleton[F[_]](co: LogWriter.type)(
implicit def logWriterSingleton[F[_]](co: LogWriter.type)(
implicit LW: LogWriter[F]
): LogWriter[F] = LW

@nowarn implicit def logWriterOpsSingleton[F[_]](co: LogWriter.type)(
implicit def logWriterOpsSingleton[F[_]](co: LogWriter.type)(
implicit LW: LogWriter[F]
): LogWriterOps[F] = new LogWriterOps(LW)
}
Expand Down

0 comments on commit 04a8aff

Please sign in to comment.