aboutsummaryrefslogtreecommitdiff
path: root/src/peering/fullmesh.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-31 23:57:33 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-31 23:57:33 +0100
commit6df6411b7234c36555e5b38aa7084f641354cce2 (patch)
tree47c439bcc32ea818fcf225c5d63c29ab6fba47af /src/peering/fullmesh.rs
parente4c0be848d50c0480fc54c69074bc8b3f88d83bf (diff)
downloadnetapp-6df6411b7234c36555e5b38aa7084f641354cce2.tar.gz
netapp-6df6411b7234c36555e5b38aa7084f641354cce2.zip
fix clippy
Diffstat (limited to 'src/peering/fullmesh.rs')
-rw-r--r--src/peering/fullmesh.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peering/fullmesh.rs b/src/peering/fullmesh.rs
index 859a94a..8e66604 100644
--- a/src/peering/fullmesh.rs
+++ b/src/peering/fullmesh.rs
@@ -113,7 +113,7 @@ impl PeerInfo {
/// PeerConnState: possible states for our tentative connections to given peer
/// This structure is only interested in recording connection info for outgoing
/// TCP connections
-#[derive(Copy, Clone, Debug, PartialEq)]
+#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum PeerConnState {
/// This entry represents ourself (the local node)
Ourself,