Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
appaquet committed Mar 25, 2024
1 parent aef4c6e commit 6b7a865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ where
let value = <V as Serializable>::deserialize(data_cursor, data_size)?;

let entry_file_size = 1 + // obj id
KS::size() + VS::size() + // key and value size bytes
KS::size() + VS::size() +
key_size + data_size;
let entry = CrateEntry::new_sized(key, value);
Ok((Entry::new(entry), entry_file_size))
Expand Down

0 comments on commit 6b7a865

Please sign in to comment.