mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-30 15:10:40 +00:00
📎 small change for clippy
This commit is contained in:
@@ -82,8 +82,7 @@ impl Drop for IndexWriter {
|
||||
fn drop(&mut self) {
|
||||
let lockfile_path = Path::new(LOCKFILE_NAME);
|
||||
match self.index.directory_mut().delete(lockfile_path) {
|
||||
Ok(_) => (),
|
||||
Err(_) => (),
|
||||
Ok(_) | Err(_) => ()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user