From 167e8cb5b212338b0d668f5304ab19823ab94529 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Mon, 12 Jul 2021 16:41:09 +0200 Subject: [PATCH] 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 --- 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())) })?;