Fix items-after-statements

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2024-06-02 00:22:48 +00:00
committed by June 🍓🦴
parent 2ab427fe99
commit 68cbf19154
6 changed files with 14 additions and 13 deletions

View File

@@ -23,13 +23,13 @@ impl KvTree for RocksDbEngineTree<'_> {
}
fn multi_get(&self, keys: &[&[u8]]) -> Result<Vec<Option<Vec<u8>>>> {
let mut readoptions = rust_rocksdb::ReadOptions::default();
readoptions.set_total_order_seek(true);
// Optimization can be `true` if key vector is pre-sorted **by the column
// comparator**.
const SORTED: bool = false;
let mut readoptions = rust_rocksdb::ReadOptions::default();
readoptions.set_total_order_seek(true);
let mut ret: Vec<Option<Vec<u8>>> = Vec::with_capacity(keys.len());
for res in self
.db