Fix clippy and rustfmt

This commit is contained in:
Francesco 2024-02-14 12:12:18 +01:00
parent 6877cd86f9
commit 8a7f8916c0
3 changed files with 3 additions and 4 deletions

View File

@ -183,7 +183,6 @@ impl Index {
options.max_dbs(25); options.max_dbs(25);
let name = name;
let env = options.open(path)?; let env = options.open(path)?;
let mut wtxn = env.write_txn()?; let mut wtxn = env.write_txn()?;
let main = env.database_options().name(MAIN).create(&mut wtxn)?; let main = env.database_options().name(MAIN).create(&mut wtxn)?;