From a83c672715447b7ec14c8325ac61fbb641c7436c Mon Sep 17 00:00:00 2001 From: MattHalpinParity Date: Wed, 3 Jul 2024 11:46:59 +0100 Subject: [PATCH] fmt --- src/column.rs | 7 +------ src/table.rs | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/column.rs b/src/column.rs index 9696ea77..28b12813 100644 --- a/src/column.rs +++ b/src/column.rs @@ -1162,12 +1162,7 @@ impl HashColumn { let data_size = packed_node_size(&node.data, num_children as u8); let mut data: Vec = 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; diff --git a/src/table.rs b/src/table.rs index e71a8597..3423da7e 100644 --- a/src/table.rs +++ b/src/table.rs @@ -805,7 +805,7 @@ impl ValueTable { ))), } } - + pub fn claim_entries(&self, num: usize) -> Result> { match &self.free_entries { Some(free_entries) => {