diff --git a/tonic/src/transport/server/mod.rs b/tonic/src/transport/server/mod.rs index 31700ee11..3103dc71c 100644 --- a/tonic/src/transport/server/mod.rs +++ b/tonic/src/transport/server/mod.rs @@ -65,7 +65,6 @@ use tower::{ Service, ServiceBuilder, ServiceExt, }; -type BoxHttpBody = crate::body::BoxBody; type BoxError = crate::Error; type BoxService = tower::util::BoxCloneService, Response, crate::Error>; type TraceInterceptor = Arc) -> tracing::Span + Send + Sync + 'static>; @@ -869,7 +868,7 @@ where ResBody: http_body::Body + Send + 'static, ResBody::Error: Into, { - type Response = Response; + type Response = Response; type Error = crate::Error; type Future = SvcFuture; @@ -913,7 +912,7 @@ where ResBody: http_body::Body + Send + 'static, ResBody::Error: Into, { - type Output = Result, crate::Error>; + type Output = Result, crate::Error>; fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { let this = self.project();