From e641d08846fd135b3909fc1f14068aa1fe526ad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Lecrenier?= Date: Wed, 26 Oct 2022 13:43:57 +0200 Subject: [PATCH] Cargo fmt --- dump/src/lib.rs | 4 +++- meilisearch-http/src/routes/swap_indexes.rs | 4 ++-- meilisearch-http/tests/tasks/mod.rs | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) 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]