Mercurial > lbo > hg > sstable
changeset 106:f76c3689831a
Run rustfmt
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Sun, 26 Apr 2020 10:15:39 +0200 |
parents | 3dc5d8e21f50 |
children | ee818e157e3c 6d792bf1ac38 |
files | src/table_block.rs |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/table_block.rs Sun Apr 26 10:10:46 2020 +0200 +++ b/src/table_block.rs Sun Apr 26 10:15:39 2020 +0200 @@ -48,7 +48,9 @@ let block_data_size = location.size(); let location = BlockHandle::new( location.offset(), - block_data_size + table_builder::TABLE_BLOCK_CKSUM_LEN + table_builder::TABLE_BLOCK_COMPRESS_LEN, + block_data_size + + table_builder::TABLE_BLOCK_CKSUM_LEN + + table_builder::TABLE_BLOCK_COMPRESS_LEN, ); let mut buf = read_bytes(f, &location)?;