Fix typo (#1308)
This commit is contained in:
@@ -76,7 +76,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
println!("\r\nBidirectional stream echo:");
|
println!("\r\nBidirectional stream echo:");
|
||||||
bidirectional_streaming_echo(&mut client, 17).await;
|
bidirectional_streaming_echo(&mut client, 17).await;
|
||||||
|
|
||||||
// Echo stream that sends up to `usize::MAX` requets. One request each 2s.
|
// Echo stream that sends up to `usize::MAX` requests. One request each 2s.
|
||||||
// Exiting client with CTRL+C demonstrate how to distinguish broken pipe from
|
// Exiting client with CTRL+C demonstrate how to distinguish broken pipe from
|
||||||
// graceful client disconnection (above example) on the server side.
|
// graceful client disconnection (above example) on the server side.
|
||||||
println!("\r\nBidirectional stream echo (kill client with CTLR+C):");
|
println!("\r\nBidirectional stream echo (kill client with CTLR+C):");
|
||||||
|
|||||||
Reference in New Issue
Block a user