mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-06-01 08:00:41 +00:00
clippy: fix if_let_redundant_pattern_matching warnings
This commit is contained in:
committed by
Paul Masurel
parent
feec2e2620
commit
1af1f7e0d1
@@ -175,7 +175,7 @@ impl ManagedDirectory {
|
||||
managed_paths_write.remove(delete_file);
|
||||
}
|
||||
}
|
||||
if let Err(_) = save_managed_paths(self.directory.as_mut(), &meta_informations_wlock) {
|
||||
if save_managed_paths(self.directory.as_mut(), &meta_informations_wlock).is_err() {
|
||||
error!("Failed to save the list of managed files.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user