Skip to content

Commit

Permalink
Merge pull request #741 from zeenix/fix-a-warning-on-windows
Browse files Browse the repository at this point in the history
🚨 zb: Add a missing cfg condition
  • Loading branch information
zeenix committed Apr 29, 2024
2 parents f4958e3 + ac606b1 commit a84504d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zbus/src/connection/handshake/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl Common {
}
}

#[cfg(feature = "p2p")]
#[cfg(all(unix, feature = "p2p"))]
pub fn socket(&self) -> &BoxedSplit {
&self.socket
}
Expand Down

0 comments on commit a84504d

Please sign in to comment.