allow let underscore use lint for rocksdb create cf for now

the workaround needs to be extended to rocksdb caches, but
i dont know that part of code

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-05-24 17:54:26 -04:00 committed by June 🍓🦴
parent a37b2b9e64
commit 0877ee6191

View file

@ -101,7 +101,11 @@ impl KeyValueDatabaseEngine for Arc<Engine> {
// Create if it didn't exist
debug!("Creating new column family in database: {}", name);
_ = self.rocks.create_cf(name, &self.opts);
// TODO: the workaround for this needs to be extended to rocksdb caches, but i
// dont know that code to safely do that
#[allow(clippy::let_underscore_must_use)]
#[allow(clippy::let_underscore_untyped)] // attributes on expressions are experimental
let _ = self.rocks.create_cf(name, &self.opts);
}
Ok(Arc::new(RocksDbEngineTree {