@@ -784,7 +784,6 @@ macro_rules! serialize_display_bounded_length {
784
784
}
785
785
786
786
#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
787
- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
788
787
impl Serialize for net:: IpAddr {
789
788
fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
790
789
where
@@ -855,7 +854,6 @@ fn test_format_u8() {
855
854
}
856
855
857
856
#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
858
- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
859
857
impl Serialize for net:: Ipv4Addr {
860
858
fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
861
859
where
@@ -880,7 +878,6 @@ impl Serialize for net::Ipv4Addr {
880
878
}
881
879
882
880
#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
883
- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
884
881
impl Serialize for net:: Ipv6Addr {
885
882
fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
886
883
where
@@ -897,7 +894,6 @@ impl Serialize for net::Ipv6Addr {
897
894
}
898
895
899
896
#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
900
- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
901
897
impl Serialize for net:: SocketAddr {
902
898
fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
903
899
where
@@ -922,7 +918,6 @@ impl Serialize for net::SocketAddr {
922
918
}
923
919
924
920
#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
925
- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
926
921
impl Serialize for net:: SocketAddrV4 {
927
922
fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
928
923
where
@@ -939,7 +934,6 @@ impl Serialize for net::SocketAddrV4 {
939
934
}
940
935
941
936
#[ cfg( any( feature = "std" , not( no_core_net) ) ) ]
942
- #[ cfg_attr( docsrs, doc( cfg( any( feature = "std" , not( no_core_net) ) ) ) ) ]
943
937
impl Serialize for net:: SocketAddrV6 {
944
938
fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
945
939
where
0 commit comments