Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Dec 8, 2023
1 parent 4b694d1 commit 85021eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/segment/index/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ impl Writer {
offset: u64,
size: u32,
) -> crate::Result<()> {
let reference = BlockHandle { start_key, offset, size };
let reference = BlockHandle {
start_key,
offset,
size,
};
self.block_chunk.items.push(reference);

self.block_counter += std::mem::size_of::<BlockHandle>() as u32;
Expand Down

0 comments on commit 85021eb

Please sign in to comment.