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;