Skip to content

Commit f61a788

Browse files
nikarhThomasdezeeuw
authored andcommitted
Expanded bool
1 parent f1349f3 commit f61a788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/socket.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ pub fn assert_nonblocking(socket: &Socket, want: bool) {
297297
#[cfg(all(feature = "all", unix))]
298298
assert_eq!(socket.nonblocking().unwrap(), want, "non-blocking option");
299299

300-
#[cfg(all(not(target_os = "vita"), not(all(feature = "all", unix))))]
300+
#[cfg(not(any(all(feature = "all", unix), target_os = "vita")))]
301301
{
302302
let flags = unsafe { libc::fcntl(socket.as_raw_fd(), libc::F_GETFL) };
303303
assert_eq!(flags & libc::O_NONBLOCK != 0, want, "non-blocking option");

0 commit comments

Comments
 (0)