Skip to content

Commit

Permalink
Hopefully addressing empty_line_after_outer_attr
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Dec 13, 2024
1 parent 0016bac commit 2551442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ pub trait MultiPeerBackend: SocketBackend {
/// This should not be public..
/// Find a better way of doing this
async fn peer_connected(self: Arc<Self>, peer_id: &PeerIdentity, io: FramedIo);

fn peer_disconnected(&self, peer_id: &PeerIdentity);
}

Expand Down Expand Up @@ -334,7 +335,6 @@ pub trait Socket: Sized + Send {
/// May also give any other zmq errors encountered when attempting to
/// disconnect.
// TODO: async fn disconnect(&mut self, endpoint: impl TryIntoEndpoint + 'async_trait) -> ZmqResult<()>;

/// Disconnects all connections, blocking until finished.

Check failure on line 338 in src/lib.rs

View workflow job for this annotation

GitHub Actions / Check and Lint

empty line after outer attribute
// TODO: async fn disconnect_all(&mut self) -> ZmqResult<()>;

Expand Down

0 comments on commit 2551442

Please sign in to comment.