Remove unnecessary Clone bound in GrpcWebLayer (#1291)
Signed-off-by: slinkydeveloper <[email protected]>
This commit is contained in:
@@ -25,7 +25,7 @@ impl Default for GrpcWebLayer {
|
|||||||
impl<S> Layer<S> for GrpcWebLayer
|
impl<S> Layer<S> for GrpcWebLayer
|
||||||
where
|
where
|
||||||
S: Service<http::Request<hyper::Body>, Response = http::Response<BoxBody>>,
|
S: Service<http::Request<hyper::Body>, Response = http::Response<BoxBody>>,
|
||||||
S: Clone + Send + 'static,
|
S: Send + 'static,
|
||||||
S::Future: Send + 'static,
|
S::Future: Send + 'static,
|
||||||
S::Error: Into<BoxError> + Send,
|
S::Error: Into<BoxError> + Send,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user