From 4bd9549f28c0de4cbe3225b2878790c4efe61e42 Mon Sep 17 00:00:00 2001 From: Mark Ingram Date: Sat, 23 Nov 2024 07:54:38 +0000 Subject: [PATCH] Remove unnecessary bounds on timeout service error (#533) --- 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;