Cargo fmt

This commit is contained in:
Loïc Lecrenier 2022-10-26 13:43:57 +02:00 committed by Clément Renault
parent 36c9f05998
commit e641d08846
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4
3 changed files with 5 additions and 4 deletions

View File

@ -113,7 +113,9 @@ pub enum KindDump {
IndexUpdate { IndexUpdate {
primary_key: Option<String>, primary_key: Option<String>,
}, },
IndexSwap { swaps: Vec<IndexSwap> }, IndexSwap {
swaps: Vec<IndexSwap>,
},
TaskCancelation { TaskCancelation {
query: String, query: String,
tasks: RoaringBitmap, tasks: RoaringBitmap,

View File

@ -8,8 +8,8 @@ use meilisearch_types::tasks::{IndexSwap, KindWithContent};
use serde::Deserialize; use serde::Deserialize;
use crate::error::MeilisearchHttpError; use crate::error::MeilisearchHttpError;
use crate::extractors::authentication::GuardedData; use crate::extractors::authentication::policies::*;
use crate::extractors::authentication::{policies::*, AuthenticationError}; use crate::extractors::authentication::{AuthenticationError, GuardedData};
use crate::extractors::sequential_extractor::SeqHandler; use crate::extractors::sequential_extractor::SeqHandler;
use crate::routes::tasks::TaskView; use crate::routes::tasks::TaskView;

View File

@ -808,7 +808,6 @@ async fn test_summarized_task_deletion() {
"finishedAt": "[date]" "finishedAt": "[date]"
} }
"###); "###);
} }
#[actix_web::test] #[actix_web::test]