From 3cf8aaa4d02021741a8c179bb68c0f33954f7696 Mon Sep 17 00:00:00 2001 From: Irevoire Date: Wed, 26 Oct 2022 19:29:12 +0200 Subject: [PATCH] reformat --- meilisearch-http/src/analytics/segment_analytics.rs | 2 +- meilisearch-http/tests/search/pagination.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meilisearch-http/src/analytics/segment_analytics.rs b/meilisearch-http/src/analytics/segment_analytics.rs index 230a44533..13dba7896 100644 --- a/meilisearch-http/src/analytics/segment_analytics.rs +++ b/meilisearch-http/src/analytics/segment_analytics.rs @@ -28,7 +28,7 @@ use crate::routes::indexes::documents::UpdateDocumentsQuery; use crate::routes::{create_all_stats, Stats}; use crate::search::{ SearchQuery, SearchResult, DEFAULT_CROP_LENGTH, DEFAULT_CROP_MARKER, - DEFAULT_HIGHLIGHT_POST_TAG, DEFAULT_HIGHLIGHT_PRE_TAG, DEFAULT_SEARCH_LIMIT + DEFAULT_HIGHLIGHT_POST_TAG, DEFAULT_HIGHLIGHT_PRE_TAG, DEFAULT_SEARCH_LIMIT, }; use crate::Opt; diff --git a/meilisearch-http/tests/search/pagination.rs b/meilisearch-http/tests/search/pagination.rs index 41c4f31a4..1099200b8 100644 --- a/meilisearch-http/tests/search/pagination.rs +++ b/meilisearch-http/tests/search/pagination.rs @@ -1,6 +1,7 @@ +use serde_json::json; + use crate::common::Server; use crate::search::DOCUMENTS; -use serde_json::json; #[actix_rt::test] async fn default_search_should_return_estimated_total_hit() {