refactor: Fix errors in api/router/

This commit is contained in:
Ginger
2026-04-13 16:20:47 -04:00
parent 0f64e6b49c
commit 0c7abd792d
8 changed files with 275 additions and 482 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ macro_rules! ruma_handler {
where
Fun: Fn($($tx,)* Ruma<Req>,) -> Fut + Send + Sync + 'static,
Fut: Future<Output = Result<Req::OutgoingResponse, Err>> + Send,
Req: IncomingRequest + Send + Sync + 'static,
Req: IncomingRequest<Authentication: $crate::router::auth::CheckAuth> + Send + Sync + 'static,
Err: IntoResponse + Send,
<Req as IncomingRequest>::OutgoingResponse: Send,
$( $tx: FromRequestParts<State> + Send + Sync + 'static, )*