Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
danking committed Oct 30, 2024
1 parent 5d69e65 commit b54356c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vortex-serde/src/layouts/write/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl<W: VortexWrite> LayoutWriter<W> {
Some(x) => x,
};

let mut byte_offsets = Vec::with_capacity(size_hint);
let mut byte_offsets = Vec::with_capacity(size_hint + 1);
byte_offsets.push(self.msgs.tell());
while let Some(chunk) = stream.try_next().await? {
metadata.push_chunk(&chunk)?;
Expand Down

0 comments on commit b54356c

Please sign in to comment.