From 6766712840580a29f07606bf4bc03d321f4435da Mon Sep 17 00:00:00 2001 From: jiangbo212 Date: Sun, 4 Dec 2022 23:05:34 +0800 Subject: [PATCH] fmt fix --- meilisearch-http/src/routes/indexes/documents.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meilisearch-http/src/routes/indexes/documents.rs b/meilisearch-http/src/routes/indexes/documents.rs index 863b21650..61afed89b 100644 --- a/meilisearch-http/src/routes/indexes/documents.rs +++ b/meilisearch-http/src/routes/indexes/documents.rs @@ -263,9 +263,9 @@ async fn document_addition( }; } - if let Err(e) = buffer.flush().await { - error!("bufWriter flush error: {}", e); - return Err(MeilisearchHttpError::Payload(ReceivePayloadErr)); + if let Err(e) = buffer.flush().await { + error!("bufWriter flush error: {}", e); + return Err(MeilisearchHttpError::Payload(ReceivePayloadErr)); }; if buffer_write_size == 0 {