From f5e9f8b8cd5b2bc4ad737b0a4f3308693a152e9a Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Wed, 27 Nov 2024 17:04:47 +0100 Subject: [PATCH] Remove unused docsrs cfg --- src/sys/unix.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sys/unix.rs b/src/sys/unix.rs index 7807dbdc..1451b1f4 100644 --- a/src/sys/unix.rs +++ b/src/sys/unix.rs @@ -1431,10 +1431,6 @@ pub(crate) fn original_dst(fd: Socket) -> io::Result { /// 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 { // Safety: `getsockopt` initialises the `SockAddr` for us. unsafe {