Skip to content

Commit

Permalink
Remove unused docsrs cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw authored Nov 27, 2024
1 parent 65df97a commit f5e9f8b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/sys/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1431,10 +1431,6 @@ pub(crate) fn original_dst(fd: Socket) -> io::Result<SockAddr> {
/// This value contains the original destination IPv6 address of the connection
/// redirected using `ip6tables` `REDIRECT` or `TPROXY`.
#[cfg(all(feature = "all", any(target_os = "android", target_os = "linux")))]
#[cfg_attr(
docsrs,
doc(cfg(all(feature = "all", any(target_os = "android", target_os = "linux"))))
)]
pub(crate) fn original_dst_ipv6(fd: Socket) -> io::Result<SockAddr> {
// Safety: `getsockopt` initialises the `SockAddr` for us.
unsafe {
Expand Down

0 comments on commit f5e9f8b

Please sign in to comment.