Skip to content

Commit

Permalink
fix(build): remove unnecessary Debug constraint for client streams (#…
Browse files Browse the repository at this point in the history
…719)

This was accidentally committed as part of
#692.

Fixes #718
  • Loading branch information
davidpdrsn committed Jul 12, 2021
1 parent 0a06603 commit 167e8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tonic-build/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
})?;
Expand Down

0 comments on commit 167e8cb

Please sign in to comment.