resolve nightly rust warnings
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
63fe9ef567
commit
24625e9659
6 changed files with 9 additions and 6 deletions
|
@ -24,6 +24,8 @@ pub(crate) trait KeyValueDatabaseEngine: Send + Sync {
|
|||
fn memory_usage(&self) -> Result<String> {
|
||||
Ok("Current database engine does not support memory usage reporting.".to_owned())
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn clear_caches(&self) {}
|
||||
}
|
||||
|
||||
|
|
|
@ -164,6 +164,8 @@ impl KeyValueDatabaseEngine for Arc<Engine> {
|
|||
))
|
||||
}
|
||||
|
||||
// TODO: figure out if this is needed for rocksdb
|
||||
#[allow(dead_code)]
|
||||
fn clear_caches(&self) {}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue