From 3e0569f0ac1ab70ff6af0f264d06ba3ea4b39d6c Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Mon, 1 Jan 2024 17:52:19 +0800 Subject: [PATCH] chore(core): remove 'static bounds on F --- 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 5bff45dc..ba114bc1 100644 --- a/viz-core/src/handler.rs +++ b/viz-core/src/handler.rs @@ -70,7 +70,7 @@ impl Handler for F where I: Send + 'static, F: Fn(I) -> Fut + ?Sized + Clone + Send + Sync + 'static, - Fut: ::core::future::Future + Send + 'static, + Fut: ::core::future::Future + Send, { type Output = Fut::Output;