We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83552ed commit 0960696Copy full SHA for 0960696
core/shared/src/main/scala/fs2/Chunk.scala
@@ -977,7 +977,7 @@ object Chunk
977
// The requested index is exactly equal to an accumulated length so the head of the next chunk is the value to return
978
chunks(j + 1)(0)
979
} else {
980
- // The requested index is not an exact match but located in the chunk after the returned insertion point
+ // The requested index is not an exact match but located in the chunk after the returned insertion point
981
val k = -j + 1
982
val accLenBefore = if (k == 0) 0 else lengths(k - 1)
983
chunks(k)(i - accLenBefore)
0 commit comments