fix(build): remove unnecessary Debug constraint for client streams (#719)

This was accidentally committed as part of
https://github.com/hyperium/tonic/pull/692.

Fixes https://github.com/hyperium/tonic/issues/718
This commit is contained in:
David Pedersen
2021-07-12 16:41:09 +02:00
committed by GitHub
parent 0a06603659
commit 167e8cb5b2
+1 -1
View File
@@ -224,7 +224,7 @@ fn generate_client_streaming<T: Method>(
pub async fn #ident(
&mut self,
request: impl tonic::IntoStreamingRequest<Message = #request>
) -> Result<tonic::Response<#response>, tonic::Status> where T: std::fmt::Debug {
) -> Result<tonic::Response<#response>, tonic::Status> {
self.inner.ready().await.map_err(|e| {
tonic::Status::new(tonic::Code::Unknown, format!("Service was not ready: {}", e.into()))
})?;