From 39823d905467ee1173f0ebae754309b4e6a8f9b5 Mon Sep 17 00:00:00 2001 From: Evyatar Stalinsky Date: Mon, 16 Sep 2024 19:04:16 +0300 Subject: [PATCH] Remove redundant `Sync` bound --- rama-tcp/src/server/listener.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rama-tcp/src/server/listener.rs b/rama-tcp/src/server/listener.rs index 2998606c..baf71d2b 100644 --- a/rama-tcp/src/server/listener.rs +++ b/rama-tcp/src/server/listener.rs @@ -211,7 +211,7 @@ where pub async fn serve_fn(self, f: F) where F: Factory, - R: Future> + Send + Sync + 'static, + R: Future> + Send + 'static, O: Send + Sync + 'static, E: Send + Sync + 'static, T: FromContextRequest, @@ -267,7 +267,7 @@ where pub async fn serve_fn_graceful(self, guard: ShutdownGuard, service: F) where F: Factory, - R: Future> + Send + Sync + 'static, + R: Future> + Send + 'static, O: Send + Sync + 'static, E: Send + Sync + 'static, T: FromContextRequest,