diff --git a/viz-router/src/router.rs b/viz-router/src/router.rs index e779ec4d..53e2b265 100644 --- a/viz-router/src/router.rs +++ b/viz-router/src/router.rs @@ -218,7 +218,7 @@ mod tests { #[async_trait] impl Handler for LoggerHandler where - H: Handler + Clone + 'static, + H: Handler, { type Output = H::Output; @@ -281,7 +281,7 @@ mod tests { async fn middle((req, h): Next) -> Result where - H: Handler> + Clone, + H: Handler>, { h.call(req).await }