From c92f357d40f7e8e9efe0918b09c44ea36ea51737 Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Mon, 1 Jan 2024 12:19:02 +0800 Subject: [PATCH] fix: boxed bounds --- viz-core/src/handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viz-core/src/handler.rs b/viz-core/src/handler.rs index 5a5f995e..32ebfba9 100644 --- a/viz-core/src/handler.rs +++ b/viz-core/src/handler.rs @@ -188,7 +188,7 @@ pub trait HandlerExt: Handler { /// Converts this Handler into a [`BoxHandler`]. fn boxed(self) -> BoxHandler where - Self: Sized + Send + Clone + 'static, + Self: Sized + Clone, { BoxHandler::new(self) }