Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Max Inden <mail@max-inden.de>
  • Loading branch information
tomaka and mxinden committed Jan 3, 2020
1 parent e29f36e commit 90e0044
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions swarm/src/protocols_handler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ pub trait ProtocolsHandler {
fn connection_keep_alive(&self) -> KeepAlive;

/// Should behave like `Stream::poll()`.
///
/// Returning an error will close the connection to the remote.
fn poll(&mut self, cx: &mut Context) -> Poll<
ProtocolsHandlerEvent<Self::OutboundProtocol, Self::OutboundOpenInfo, Self::OutEvent, Self::Error>
>;
Expand Down

0 comments on commit 90e0044

Please sign in to comment.