Skip to content

Commit

Permalink
refactor(net): remove unneeded dead code lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiapple852 committed Dec 28, 2022
1 parent b1ccd00 commit c8cd37e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tracing/net/platform/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@ impl Socket {
self.inner.take_error()
}

#[allow(dead_code, clippy::unused_self)]
#[allow(clippy::unused_self, clippy::unnecessary_wraps)]
pub fn icmp_error_info(&self) -> io::Result<IpAddr> {
unimplemented!()
Ok(IpAddr::V4(Ipv4Addr::UNSPECIFIED))
}

#[allow(clippy::unused_self, clippy::unnecessary_wraps)]
Expand Down

0 comments on commit c8cd37e

Please sign in to comment.