@@ -784,7 +784,6 @@ macro_rules! serialize_display_bounded_length {
784784}
785785
786786#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
787- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
788787impl Serialize for net:: IpAddr {
789788 fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
790789 where
@@ -855,7 +854,6 @@ fn test_format_u8() {
855854}
856855
857856#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
858- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
859857impl Serialize for net:: Ipv4Addr {
860858 fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
861859 where
@@ -880,7 +878,6 @@ impl Serialize for net::Ipv4Addr {
880878}
881879
882880#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
883- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
884881impl Serialize for net:: Ipv6Addr {
885882 fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
886883 where
@@ -897,7 +894,6 @@ impl Serialize for net::Ipv6Addr {
897894}
898895
899896#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
900- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
901897impl Serialize for net:: SocketAddr {
902898 fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
903899 where
@@ -922,7 +918,6 @@ impl Serialize for net::SocketAddr {
922918}
923919
924920#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
925- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
926921impl Serialize for net:: SocketAddrV4 {
927922 fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
928923 where
@@ -939,7 +934,6 @@ impl Serialize for net::SocketAddrV4 {
939934}
940935
941936#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
942- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
943937impl Serialize for net:: SocketAddrV6 {
944938 fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
945939 where
0 commit comments