Skip to content

Commit c552441

Browse files
Update std/shared/src/main/scala/cats/effect/std/NonEmptyHotswap.scala
Co-authored-by: Arman Bilge <armanbilge@gmail.com>
1 parent d4700dd commit c552441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/shared/src/main/scala/cats/effect/std/NonEmptyHotswap.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ sealed trait NonEmptyHotswap[F[_], R] {
6868
* If [[swap]] is called after the lifetime of the [[NonEmptyHotswap]] is over, it will raise
6969
* an error, but will ensure that all resources are finalized before returning.
7070
*/
71-
def swap(next: Resource[F, R]): F[R]
71+
def swap(next: Resource[F, R]): F[Unit]
7272

7373
/**
7474
* Gets the current resource. The returned resource is guaranteed to be available for the

0 commit comments

Comments
 (0)