Skip to content

Commit

Permalink
Use Chunk.from instead of deprecated Chunk.vector
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrohdezma committed Apr 17, 2024
1 parent cca4a2e commit 366a099
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private[consumer] class Wrapper[A](val underlying: Builder[A, Vector[A]]) extend

override def clear(): Unit = ???

def toChunk: Chunk[A] = Chunk.vector(underlying.result())
def toChunk: Chunk[A] = Chunk.from(underlying.result())

}

Expand Down

0 comments on commit 366a099

Please sign in to comment.