mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2026-03-29 15:04:43 -04:00
fix: clippy is incorrect about his lint, axum explicitly says this is okay to do
This commit is contained in:
parent
4628afe374
commit
8468be7802
1 changed files with 1 additions and 1 deletions
|
|
@ -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<T>(
|
||||
host: Option<Host>,
|
||||
request: axum::http::Request<T>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue