diff --git a/dump/src/lib.rs b/dump/src/lib.rs index 21b4497df..0b34b16ba 100644 --- a/dump/src/lib.rs +++ b/dump/src/lib.rs @@ -113,7 +113,9 @@ pub enum KindDump { IndexUpdate { primary_key: Option, }, - IndexSwap { swaps: Vec }, + IndexSwap { + swaps: Vec, + }, TaskCancelation { query: String, tasks: RoaringBitmap, diff --git a/meilisearch-http/src/routes/swap_indexes.rs b/meilisearch-http/src/routes/swap_indexes.rs index ee866434c..965b1bc55 100644 --- a/meilisearch-http/src/routes/swap_indexes.rs +++ b/meilisearch-http/src/routes/swap_indexes.rs @@ -8,8 +8,8 @@ use meilisearch_types::tasks::{IndexSwap, KindWithContent}; use serde::Deserialize; use crate::error::MeilisearchHttpError; -use crate::extractors::authentication::GuardedData; -use crate::extractors::authentication::{policies::*, AuthenticationError}; +use crate::extractors::authentication::policies::*; +use crate::extractors::authentication::{AuthenticationError, GuardedData}; use crate::extractors::sequential_extractor::SeqHandler; use crate::routes::tasks::TaskView; diff --git a/meilisearch-http/tests/tasks/mod.rs b/meilisearch-http/tests/tasks/mod.rs index 039717fff..342480402 100644 --- a/meilisearch-http/tests/tasks/mod.rs +++ b/meilisearch-http/tests/tasks/mod.rs @@ -808,7 +808,6 @@ async fn test_summarized_task_deletion() { "finishedAt": "[date]" } "###); - } #[actix_web::test]