enable let_underscore_must_use lint

This commit is contained in:
Charles Hall 2024-05-12 17:02:08 -07:00
parent 2ded335adb
commit 052f3088e9
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
12 changed files with 69 additions and 32 deletions

View file

@ -96,9 +96,9 @@ impl KeyValueDatabaseEngine for Arc<Engine> {
fn open_tree(&self, name: &'static str) -> Result<Arc<dyn KvTree>> {
if !self.old_cfs.contains(&name.to_owned()) {
// Create if it didn't exist
let _ = self
.rocks
.create_cf(name, &db_options(self.max_open_files, &self.cache));
self.rocks
.create_cf(name, &db_options(self.max_open_files, &self.cache))
.expect("should be able to create column family");
}
Ok(Arc::new(RocksDbEngineTree {