File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -968,7 +968,7 @@ impl Socket {
968968 /// For more information about this option, see [`set_passcred`].
969969 ///
970970 /// [`set_passcred`]: Socket::set_passcred
971- #[ cfg( all ( unix , any( target_os = "linux" , target_os = "cygwin" ) ) ) ]
971+ #[ cfg( any( target_os = "linux" , target_os = "cygwin" ) ) ]
972972 pub fn passcred ( & self ) -> io:: Result < bool > {
973973 unsafe {
974974 getsockopt :: < c_int > ( self . as_raw ( ) , sys:: SOL_SOCKET , sys:: SO_PASSCRED )
@@ -980,7 +980,7 @@ impl Socket {
980980 ///
981981 /// If this option is enabled, enables the receiving of the `SCM_CREDENTIALS`
982982 /// control messages.
983- #[ cfg( all ( unix , any( target_os = "linux" , target_os = "cygwin" ) ) ) ]
983+ #[ cfg( any( target_os = "linux" , target_os = "cygwin" ) ) ]
984984 pub fn set_passcred ( & self , passcred : bool ) -> io:: Result < ( ) > {
985985 unsafe {
986986 setsockopt (
You can’t perform that action at this time.
0 commit comments