refactor: Fix errors in api/router/

This commit is contained in:
Ginger committed 2026-04-28 09:16:56 -04:00
1 parent 0f64e6b49c
commit 0c7abd792d
8 files changed
+275 -482

No files matched your search

+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, )*