Make clippy happy

This commit is contained in:
Clémentine Urquizar 2021-07-29 18:14:36 +02:00
parent 976075578f
commit bf76d4a43c
No known key found for this signature in database
GPG key ID: D8E7CC7422E77E1A
8 changed files with 22 additions and 22 deletions

View file

@ -101,7 +101,7 @@ impl Index {
let index = Self::open(&dst_dir_path, size)?;
let mut txn = index.write_txn()?;
let handler = UpdateHandler::new(&indexing_options)?;
let handler = UpdateHandler::new(indexing_options)?;
index.update_settings_txn(&mut txn, &settings, handler.update_builder(0))?;