From 904f6574bf654a5f1b46330c414062f00ca421d9 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Wed, 7 Jun 2023 17:02:41 +0200 Subject: [PATCH] Make rustfmt happy --- meilisearch/src/analytics/segment_analytics.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meilisearch/src/analytics/segment_analytics.rs b/meilisearch/src/analytics/segment_analytics.rs index 4508fa26e..51bd703a6 100644 --- a/meilisearch/src/analytics/segment_analytics.rs +++ b/meilisearch/src/analytics/segment_analytics.rs @@ -527,11 +527,13 @@ impl Segment { let _ = self.batcher.push(update_documents).await; } if let Some(get_fetch_documents) = - take(get_fetch_documents_aggregator).into_event(&user, "Documents Fetched GET") { + take(get_fetch_documents_aggregator).into_event(&user, "Documents Fetched GET") + { let _ = self.batcher.push(get_fetch_documents).await; } if let Some(post_fetch_documents) = - take(post_fetch_documents_aggregator).into_event(&user, "Documents Fetched POST") { + take(post_fetch_documents_aggregator).into_event(&user, "Documents Fetched POST") + { let _ = self.batcher.push(post_fetch_documents).await; } if let Some(get_tasks) = take(get_tasks_aggregator).into_event(&user, "Tasks Seen") {