Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MattHalpinParity committed Jul 3, 2024
1 parent cf28b04 commit a83c672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/column.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1162,12 +1162,7 @@ impl HashColumn {
let data_size = packed_node_size(&node.data, num_children as u8);
let mut data: Vec<u8> = Vec::with_capacity(data_size);
data.extend_from_slice(&node.data);
self.claim_children_to_data_compress(
&node.children,
tables,
node_values,
&mut data,
)?;
self.claim_children_to_data_compress(&node.children, tables, node_values, &mut data)?;
data.push(num_children as u8);

let table_key = TableKey::NoHash;
Expand Down
2 changes: 1 addition & 1 deletion src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ impl ValueTable {
))),
}
}

pub fn claim_entries(&self, num: usize) -> Result<Vec<u64>> {
match &self.free_entries {
Some(free_entries) => {
Expand Down

0 comments on commit a83c672

Please sign in to comment.