From 38c88d577ab99794f10851d35ae9cc70fecad477 Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Mon, 1 Jan 2024 13:29:55 +0800 Subject: [PATCH] chore(core): remove redundance bounds on Router --- viz-router/src/router.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }