From bda81a1f087b4232158449b008131f60b146fd48 Mon Sep 17 00:00:00 2001 From: tottoto Date: Sat, 18 Jan 2025 07:15:55 +0900 Subject: [PATCH] chore(examples): Remove unnecessary bound --- examples/src/h2c/server.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/src/h2c/server.rs b/examples/src/h2c/server.rs index 0dc3cb289..866068a27 100644 --- a/examples/src/h2c/server.rs +++ b/examples/src/h2c/server.rs @@ -82,9 +82,8 @@ mod h2c { impl Service> for H2c where S: Service, Response = Response> + Clone + Send + 'static, - S::Future: Send + 'static, - S::Error: Into + Sync + Send + 'static, - S::Response: Send + 'static, + S::Future: Send, + S::Error: Into + 'static, { type Response = hyper::Response; type Error = hyper::Error;