master
Lucjan Suski 5 years ago
parent f4d1e81e04
commit 421149b4da
  1. 5
      src/db_options.rs

@ -428,7 +428,10 @@ impl Options {
/// ``` /// ```
pub fn set_optimize_filters_for_hits(&mut self, optimize_for_hits: bool) { pub fn set_optimize_filters_for_hits(&mut self, optimize_for_hits: bool) {
unsafe { unsafe {
ffi::rocksdb_options_set_optimize_filters_for_hits(self.inner, optimize_for_hits as c_int); ffi::rocksdb_options_set_optimize_filters_for_hits(
self.inner,
optimize_for_hits as c_int,
);
} }
} }

Loading…
Cancel
Save