Remove unnecessary Clone bound in GrpcWebLayer (#1291)

Signed-off-by: slinkydeveloper <francescoguard@gmail.com>
This commit is contained in:
Francesco Guardiani
2023-02-22 13:10:36 +01:00
committed by GitHub
parent 3a38a32a02
commit b5764035eb
+1 -1
View File
@@ -25,7 +25,7 @@ impl Default for GrpcWebLayer {
impl<S> Layer<S> for GrpcWebLayer
where
S: Service<http::Request<hyper::Body>, Response = http::Response<BoxBody>>,
S: Clone + Send + 'static,
S: Send + 'static,
S::Future: Send + 'static,
S::Error: Into<BoxError> + Send,
{