make cargo fmt&clippy happy

This commit is contained in:
Tamo 2023-02-16 18:00:40 +01:00
parent 5367d8f05a
commit e79f6f87f6
2 changed files with 11 additions and 4 deletions

View file

@ -239,6 +239,7 @@ pub async fn update_documents(
Ok(HttpResponse::Accepted().json(task))
}
#[allow(clippy::too_many_arguments)]
async fn document_addition(
mime_type: Option<Mime>,
index_scheduler: GuardedData<ActionPolicy<{ actions::DOCUMENTS_ADD }>, Data<IndexScheduler>>,