@@ -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" ) ) ]
@@ -2410,13 +2410,13 @@ mod datalink {
24102410
24112411 impl LinkAddr {
24122412 /// interface index, if != 0, system given index for interface
2413- #[ cfg( not( any ( target_os = "haiku" ) ) ) ]
2413+ #[ cfg( not( target_os = "haiku" ) ) ]
24142414 pub fn ifindex( & self ) -> usize {
24152415 self . 0 . sdl_index as usize
24162416 }
24172417
24182418 /// Datalink type
2419- #[ cfg( not( any ( target_os = "haiku" ) ) ) ]
2419+ #[ cfg( not( target_os = "haiku" ) ) ]
24202420 pub fn datalink_type( & self ) -> u8 {
24212421 self . 0 . sdl_type
24222422 }
@@ -2432,7 +2432,7 @@ mod datalink {
24322432 }
24332433
24342434 /// link layer selector length
2435- #[ cfg( not( any ( target_os = "haiku" ) ) ) ]
2435+ #[ cfg( not( target_os = "haiku" ) ) ]
24362436 pub fn slen( & self ) -> usize {
24372437 self . 0 . sdl_slen as usize
24382438 }
0 commit comments