Clean up docs

This commit is contained in:
Lucio Franco
2019-09-21 11:20:30 -06:00
parent cd9133a41c
commit 5ded741eb6
8 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ pub(crate) fn generate(service: &Service, proto: &str) -> TokenStream {
}
impl<T> #service_ident<T>
where T: tonic::client::GrpcService<tonic::BoxBody>,
where T: tonic::client::GrpcService<tonic::body::BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
+1 -1
View File
@@ -53,7 +53,7 @@ pub(crate) fn generate(service: &Service, proto_path: &str) -> TokenStream {
}
impl<T: #server_trait> Service<http::Request<HyperBody>> for #server_service<T> {
type Response = http::Response<tonic::BoxBody>;
type Response = http::Response<tonic::body::BoxBody>;
type Error = Never;
type Future = BoxFuture<Self::Response, Self::Error>;