Fix for service as bottom handler (#27)

Would previously fail because of a mismatch in error types.
This commit is contained in:
David Pedersen
2021-07-06 09:40:25 +02:00
committed by GitHub
parent c4d266e94d
commit 3cd4a1d6a6
5 changed files with 60 additions and 26 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ where
OnMethod {
method,
svc: handler.into_service(),
fallback: EmptyRouter,
fallback: EmptyRouter::new(),
}
}