Browse Source

Tiny comment nits.

wip
Titouan Rigoudy 4 years ago
parent
commit
9f3f20a4c7
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/proto/server/client.rs

+ 1
- 2
src/proto/server/client.rs View File

@ -134,10 +134,9 @@ impl Client {
S: Stream<Item = ServerRequest> + Unpin,
{
Box::pin(async_stream::try_stream! {
// Drive the main loop: send requests and receive responses.
loop {
match self.run_once(&mut request_stream).await? {
// TODO: Close frame stream connection when we break, so that the
// other side notices we've gone away.
RunOnceResult::Break => break,
RunOnceResult::Continue => continue,
RunOnceResult::Response(response) => yield response,


Loading…
Cancel
Save