Skip to content

Commit

Permalink
typelevel#1987 Pull.pure is replaced with Pull.done
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriibundin committed Aug 15, 2020
1 parent e3ba608 commit d32ac28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/shared/src/main/scala/fs2/Stream.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ final class Stream[+F[_], +O] private[fs2] (private val free: FreeC[F, O, Unit])
Pull
.eval(resultQ.enqueue1(Some(Stream.chunk(hd).onFinalize(guard.release)))) >>
go(tl, guard, queue)
case None => Pull.pure(None)
case None => Pull.done
}
def runStream(
s: Stream[F2, O2],
Expand Down

0 comments on commit d32ac28

Please sign in to comment.