Skip to content

Commit c362b62

Browse files
committed
fixing variance annotation
1 parent b160ab3 commit c362b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/shared/src/main/scala/fs2/Stream.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ final class Stream[+F[_], +O] private[fs2] (private[fs2] val underlying: Pull[F,
15121512
timeout: FiniteDuration
15131513
)(implicit F: Temporal[F2]): Stream[F2, Chunk[O]] = {
15141514

1515-
case class State(@uncheckedVariance os: Chunk[O], supplyEnded: Boolean) {
1515+
case class State(os: Chunk[O @uncheckedVariance], supplyEnded: Boolean) {
15161516

15171517
val size: Long = os.size.toLong
15181518

0 commit comments

Comments
 (0)