Remove outdated comment

Now that the `PeerConnector` handles both incoming and outgoing
handshakes, determining the next peer address is definitely out of scope
-- it takes a pre-existing tcp connection.
This commit is contained in:
Henry de Valence 2019-10-15 15:01:07 -07:00
parent 31651cf87c
commit ed335e68f4
1 changed files with 0 additions and 2 deletions

View File

@ -69,8 +69,6 @@ where
type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>>>>;
fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
// XXX when this asks a second service for
// an address to connect to, it should call inner.ready
Poll::Ready(Ok(()))
}