mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
enable error_on_line_overflow and fix errors
These required some manual intervention.
This commit is contained in:
parent
0afc1d2f50
commit
5cb2551422
6 changed files with 75 additions and 60 deletions
12
src/main.rs
12
src/main.rs
|
|
@ -595,9 +595,15 @@ macro_rules! impl_ruma_handler {
|
|||
for path in meta.history.all_paths() {
|
||||
let handler = self.clone();
|
||||
|
||||
router = router.route(path, on(method_filter, |$( $ty: $ty, )* req| async move {
|
||||
handler($($ty,)* req).await.map(RumaResponse)
|
||||
}))
|
||||
router = router.route(
|
||||
path,
|
||||
on(
|
||||
method_filter,
|
||||
|$( $ty: $ty, )* req| async move {
|
||||
handler($($ty,)* req).await.map(RumaResponse)
|
||||
}
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
router
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue