Skip to content

Commit

Permalink
Removed implicit modifiers on deprecated instance to avoid unavoidabl…
Browse files Browse the repository at this point in the history
…e warnings
  • Loading branch information
djspiewak committed Nov 22, 2024
1 parent efaab4f commit eb2e7b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1305,8 +1305,8 @@ private[effect] trait ResourceHOInstances4 extends ResourceHOInstances5 {
@deprecated(
"Bring an implicit MonadCancelThrow[F] into scope to get the fixed Resource instance",
"3.6.0")
implicit def catsEffectMonadErrorForResource[F[_], E](
implicit F0: MonadError[F, E]): MonadError[Resource[F, *], E] =
def catsEffectMonadErrorForResource[F[_], E](
F0: MonadError[F, E]): MonadError[Resource[F, *], E] =
new ResourceMonadError[F, E] {
def F = F0
}
Expand Down

0 comments on commit eb2e7b2

Please sign in to comment.