From 8468be78022fd2736a448fce962404e1910269a9 Mon Sep 17 00:00:00 2001 From: NinekoTheCat Date: Mon, 25 Dec 2023 17:43:04 +0100 Subject: [PATCH] fix: clippy is incorrect about his lint, axum explicitly says this is okay to do --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index d7255a6f..f7634922 100644 --- a/src/main.rs +++ b/src/main.rs @@ -654,7 +654,7 @@ fn server_server_routes() -> Router { .ruma_route(server_server::claim_keys_route) .route_layer(axum::middleware::from_fn(deny_if_not_allowed_by_acl)) } - +#[allow(clippy::future_not_send)] pub async fn deny_if_not_allowed_by_acl( host: Option, request: axum::http::Request,