We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac8a339 commit c4ce3faCopy full SHA for c4ce3fa
core/src/main/scala/cats/mtl/Handle.scala
@@ -230,8 +230,8 @@ object Handle extends HandleInstances with HandleVariant {
230
def apply[A](body: Handle[F, E] => F[A])(implicit F: ApplicativeThrow[F]): Inner[A] =
231
new Inner(body)
232
233
- final class Inner[A](body: Handle[F, E] => F[A])(implicit F: ApplicativeThrow[F]) {
234
- def rescue(h: E => F[A]): F[A] = {
+ final class Inner[A](private val body: Handle[F, E] => F[A]) extends AnyVal {
+ def rescue(h: E => F[A])(implicit F: ApplicativeThrow[F]): F[A] = {
235
val Marker = new AnyRef
236
237
def inner[B](fb: F[B])(f: E => F[B]): F[B] =
0 commit comments