From 7fe0a78b45180e634fae0fa5b160d6b7461da88f Mon Sep 17 00:00:00 2001 From: Mark Ingram Date: Fri, 22 Nov 2024 17:11:25 +0000 Subject: [PATCH] timeout - remove unnecessary bounds on service error --- tower-http/src/timeout/service.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/tower-http/src/timeout/service.rs b/tower-http/src/timeout/service.rs index 8371b03f..230fe717 100644 --- a/tower-http/src/timeout/service.rs +++ b/tower-http/src/timeout/service.rs @@ -165,7 +165,6 @@ impl RequestBodyTimeout { impl Service> for RequestBodyTimeout where S: Service>>, - S::Error: Into>, { type Response = S::Response; type Error = S::Error; @@ -212,7 +211,6 @@ pub struct ResponseBodyTimeout { impl Service> for ResponseBodyTimeout where S: Service, Response = Response>, - S::Error: Into>, { type Response = Response>; type Error = S::Error;