Skip to content

Commit 3f5f456

Browse files
committed
Adding type annotation on owned_cache per review comment
1 parent 78ee7ec commit 3f5f456

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/new_index/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl DB {
152152

153153
// Configure block cache and table options
154154
let mut block_opts = rocksdb::BlockBasedOptions::default();
155-
let owned_cache;
155+
let owned_cache: rocksdb::Cache;
156156
let cache = match shared_cache {
157157
Some(c) => c,
158158
None => {

0 commit comments

Comments
 (0)