Skip to content

Commit ee8c68e

Browse files
committed
clippy
1 parent 36db02a commit ee8c68e

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/table/block/binary_index/reader.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// This source code is licensed under both the Apache 2.0 and MIT License
33
// (found in the LICENSE-* files in the repository)
44

5-
use crate::unwrap;
65
use byteorder::{LittleEndian, ReadBytesExt};
76

87
pub struct Reader<'a> {

src/table/block/decoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use super::binary_index::Reader as BinaryIndexReader;
66
use crate::{
77
table::{block::Trailer, Block},
8-
unwrap, SeqNo, Slice,
8+
SeqNo, Slice,
99
};
1010
use byteorder::{LittleEndian, ReadBytesExt};
1111
use std::{io::Cursor, marker::PhantomData};

src/table/data_block/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use super::block::{
1616
use crate::key::InternalKey;
1717
use crate::table::block::hash_index::{MARKER_CONFLICT, MARKER_FREE};
1818
use crate::table::util::{compare_prefixed_slice, SliceIndexes};
19-
use crate::{unwrap, InternalValue, SeqNo, Slice, ValueType};
19+
use crate::{InternalValue, SeqNo, Slice, ValueType};
2020
use byteorder::WriteBytesExt;
2121
use byteorder::{LittleEndian, ReadBytesExt};
2222
use std::io::Cursor;

src/table/index_block/block_handle.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ use crate::{
99
index_block::IndexBlockParsedItem,
1010
util::SliceIndexes,
1111
},
12-
unwrap,
1312
};
1413
use crate::{SeqNo, UserKey};
1514
use byteorder::{ReadBytesExt, WriteBytesExt};

0 commit comments

Comments
 (0)