Skip to content

Commit

Permalink
Update madsim-tonic/src/client.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrunji0408 committed Jun 21, 2024
1 parent d3fef95 commit 831b320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion madsim-tonic/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ impl<F: Interceptor> Grpc<crate::transport::Channel, F> {
// send requests
pin_mut!(stream);
while let Some(item) = stream.next().await {
/// allows the server to prematurely close the stream
// allows the server to prematurely close the stream
if tx.send(Box::new(item)).await.is_err() {
debug!("send stream unexpectedly closed");
break;
Expand Down

0 comments on commit 831b320

Please sign in to comment.