From 691f9c3ec4998fbf0344ac7f9c97d6a6b859a7ed Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Mon, 12 Jul 2021 15:34:58 +0200 Subject: [PATCH] fix(build): remove unnecessary `Debug` constraint for client streams This was accidentally committed as part of https://github.com/hyperium/tonic/pull/692. Fixes https://github.com/hyperium/tonic/issues/718 --- tonic-build/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tonic-build/src/client.rs b/tonic-build/src/client.rs index d3acad613..d3c109ff4 100644 --- a/tonic-build/src/client.rs +++ b/tonic-build/src/client.rs @@ -224,7 +224,7 @@ fn generate_client_streaming( pub async fn #ident( &mut self, request: impl tonic::IntoStreamingRequest - ) -> Result, tonic::Status> where T: std::fmt::Debug { + ) -> Result, tonic::Status> { self.inner.ready().await.map_err(|e| { tonic::Status::new(tonic::Code::Unknown, format!("Service was not ready: {}", e.into())) })?;