Skip to content

Commit

Permalink
Scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilquist committed Aug 17, 2020
1 parent 9a3971b commit 8e21716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/shared/src/main/scala/fs2/Scope.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ abstract class Scope[F[_]] {
def leaseOrError(implicit F: MonadError[F, Throwable]): F[Scope.Lease[F]] =
lease.flatMap {
case Some(l) => F.pure(l)
case None => F.raiseError(new Throwable("Scope closed at time of lease"))
case None => F.raiseError(new Throwable("Scope closed at time of lease"))
}

/**
Expand Down

0 comments on commit 8e21716

Please sign in to comment.