@@ -121,7 +121,7 @@ pub enum AddressFamily {
121121 #[ cfg_attr( docsrs, doc( cfg( all( ) ) ) ) ]
122122 Rose = libc:: AF_ROSE ,
123123 /// DECet protocol sockets.
124- #[ cfg( not( any ( target_os = "haiku" ) ) ) ]
124+ #[ cfg( not( target_os = "haiku" ) ) ]
125125 Decnet = libc:: AF_DECnet ,
126126 /// Reserved for "802.2LLC project"; never used.
127127 #[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
@@ -153,7 +153,7 @@ pub enum AddressFamily {
153153 #[ cfg_attr( docsrs, doc( cfg( all( ) ) ) ) ]
154154 Rds = libc:: AF_RDS ,
155155 /// IBM SNA
156- #[ cfg( not( any ( target_os = "haiku" ) ) ) ]
156+ #[ cfg( not( target_os = "haiku" ) ) ]
157157 Sna = libc:: AF_SNA ,
158158 /// Socket interface over IrDA
159159 #[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
@@ -2432,13 +2432,13 @@ mod datalink {
24322432
24332433 impl LinkAddr {
24342434 /// interface index, if != 0, system given index for interface
2435- #[ cfg( not( any ( target_os = "haiku" ) ) ) ]
2435+ #[ cfg( not( target_os = "haiku" ) ) ]
24362436 pub fn ifindex( & self ) -> usize {
24372437 self . 0 . sdl_index as usize
24382438 }
24392439
24402440 /// Datalink type
2441- #[ cfg( not( any ( target_os = "haiku" ) ) ) ]
2441+ #[ cfg( not( target_os = "haiku" ) ) ]
24422442 pub fn datalink_type( & self ) -> u8 {
24432443 self . 0 . sdl_type
24442444 }
@@ -2454,7 +2454,7 @@ mod datalink {
24542454 }
24552455
24562456 /// link layer selector length
2457- #[ cfg( not( any ( target_os = "haiku" ) ) ) ]
2457+ #[ cfg( not( target_os = "haiku" ) ) ]
24582458 pub fn slen( & self ) -> usize {
24592459 self . 0 . sdl_slen as usize
24602460 }
0 commit comments