Browse Source

Note to self about Client::recv.

wip
Titouan Rigoudy 9 years ago
parent
commit
e8cf07fad8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/client.rs

+ 2
- 0
src/client.rs View File

@ -77,6 +77,8 @@ impl Client {
}
}
// Necessary to break out in different function because self cannot be
// borrowed in the select arms due to *macro things*.
fn recv(&mut self) -> IncomingMessage {
let proto_rx = &self.proto_rx;
let control_rx = &self.control_rx;


Loading…
Cancel
Save