From 735a5da257cbc4928bb1c81bf54e511be368eebd Mon Sep 17 00:00:00 2001 From: Irevoire Date: Sat, 22 Oct 2022 17:06:20 +0200 Subject: [PATCH] reformat --- meilisearch-http/src/routes/indexes/documents.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meilisearch-http/src/routes/indexes/documents.rs b/meilisearch-http/src/routes/indexes/documents.rs index 2aa805c46..0cdb11e8a 100644 --- a/meilisearch-http/src/routes/indexes/documents.rs +++ b/meilisearch-http/src/routes/indexes/documents.rs @@ -260,10 +260,7 @@ async fn document_addition( match index_scheduler.delete_update_file(uuid) { Ok(()) => (), Err(index_scheduler::Error::FileStore(file_store::Error::IoError(e))) - if e.kind() == ErrorKind::NotFound => - { - - } + if e.kind() == ErrorKind::NotFound => {} Err(e) => { log::warn!("Unknown error happened while deleting a malformed update file with uuid {uuid}: {e}"); }