Skip to content

Commit f798f33

Browse files
committed
make clippy happy
1 parent 323f813 commit f798f33

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2554,7 +2554,7 @@ impl<T: ThreadMode, I: DBInner> Drop for DBCommon<T, I> {
25542554

25552555
impl<T: ThreadMode, I: DBInner> fmt::Debug for DBCommon<T, I> {
25562556
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
2557-
write!(f, "RocksDB {{ path: {:?} }}", self.path())
2557+
write!(f, "RocksDB {{ path: {} }}", self.path().display())
25582558
}
25592559
}
25602560

src/db_options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2884,7 +2884,7 @@ impl Options {
28842884
MemtableFactory::HashLinkList { bucket_count } => unsafe {
28852885
ffi::rocksdb_options_set_hash_link_list_rep(self.inner, bucket_count);
28862886
},
2887-
};
2887+
}
28882888
}
28892889

28902890
pub fn set_block_based_table_factory(&mut self, factory: &BlockBasedOptions) {

0 commit comments

Comments
 (0)