Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Lee <busyjaylee@gmail.com>
  • Loading branch information
BusyJay authored and sylvestre committed Sep 6, 2024
1 parent 2e3811b commit 6039160
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ impl SocketAddr {
pub fn as_net(&self) -> Option<&std::net::SocketAddr> {
match self {
SocketAddr::Net(addr) => Some(addr),
#[cfg(unix)]
_ => None,
}
}
Expand Down

0 comments on commit 6039160

Please sign in to comment.