Skip to content

Commit 96e7516

Browse files
samspillsdiesalbla
andauthored
Update core/shared/src/main/scala/fs2/Stream.scala
Co-authored-by: Diego Alonso <[email protected]>
1 parent 9d79496 commit 96e7516

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
@@ -446,7 +446,7 @@ final class Stream[+F[_], +O] private[fs2] (private[fs2] val underlying: Pull[F,
446446
/** Outputs chunks of size `n`.
447447
*
448448
* Chunks from the source stream are split as necessary.
449-
* If `allowFewer` is true, the last chunk that is emitted, upon completion of the stream, may have less than `n` elements.
449+
* If `allowFewer` is true, the last chunk that is emitted, upon completion of the stream, may have fewer than `n` elements.
450450
*
451451
* Note: the emitted chunk may be a composite chunk (i.e., an instance of `Chunk.Queue`) and
452452
* hence may not have O(1) lookup by index. Consider calling `.map(_.compact)` if indexed

0 commit comments

Comments
 (0)