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() {