diff --git a/meilisearch/src/analytics/mock_analytics.rs b/meilisearch/src/analytics/mock_analytics.rs index 504c3baad..092e35424 100644 --- a/meilisearch/src/analytics/mock_analytics.rs +++ b/meilisearch/src/analytics/mock_analytics.rs @@ -7,8 +7,8 @@ use serde_json::Value; use super::{find_user_id, Analytics, DocumentDeletionKind}; use crate::routes::indexes::documents::UpdateDocumentsQuery; -use crate::Opt; use crate::routes::tasks::TasksFilterQuery; +use crate::Opt; pub struct MockAnalytics { instance_uid: Option, diff --git a/meilisearch/src/routes/tasks.rs b/meilisearch/src/routes/tasks.rs index 68eb1963f..09723623f 100644 --- a/meilisearch/src/routes/tasks.rs +++ b/meilisearch/src/routes/tasks.rs @@ -5,8 +5,8 @@ use actix_web::web::Data; use actix_web::{web, HttpRequest, HttpResponse}; use deserr::DeserializeFromValue; use index_scheduler::{IndexScheduler, Query, TaskId}; -use meilisearch_types::error::{deserr_codes::*, TakeErrorMessage}; -use meilisearch_types::error::{DeserrError, ResponseError}; +use meilisearch_types::error::deserr_codes::*; +use meilisearch_types::error::{DeserrError, ResponseError, TakeErrorMessage}; use meilisearch_types::index_uid::IndexUid; use meilisearch_types::settings::{Settings, Unchecked}; use meilisearch_types::star_or::StarOr; @@ -586,10 +586,8 @@ mod tests { use meili_snap::snapshot; use meilisearch_types::error::DeserrError; - use crate::{ - extractors::query_parameters::QueryParameter, - routes::tasks::{TaskDeletionOrCancelationQuery, TasksFilterQuery}, - }; + use crate::extractors::query_parameters::QueryParameter; + use crate::routes::tasks::{TaskDeletionOrCancelationQuery, TasksFilterQuery}; fn deserr_query_params(j: &str) -> Result where