Skip to content

Commit 5ba5055

Browse files
committed
tuple fix
1 parent 858b31b commit 5ba5055

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
@@ -1563,7 +1563,7 @@ final class Stream[+F[_], +O] private[fs2] (private[fs2] val underlying: Pull[F,
15631563
flushSize = a.min(groupSize) // apply cap (producer is still running)
15641564
} yield (flushSize, flushSize - 1) // decrement permits (one already acquired)
15651565

1566-
F.ifM(supply.tryAcquireN(groupSize))(F.pure(groupSize, groupSize), nextChunk)
1566+
F.ifM(supply.tryAcquireN(groupSize))(F.pure((groupSize, groupSize)), nextChunk)
15671567
}
15681568

15691569
def emitChunk(n: Long): F2[Chunk[O]] = state.modify(_.splitAt(n))

0 commit comments

Comments
 (0)