We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e95a37 commit 7c173c4Copy full SHA for 7c173c4
src/tests/std.rs
@@ -10,7 +10,10 @@ fn test_fd_cloexec() {
10
let file = File::create("test_file_for_fd_cloexec").unwrap();
11
let fd = file.as_raw_fd();
12
unsafe {
13
- assert_eq!(libc::fcntl(fd, libc::F_GETFD) & libc::FD_CLOEXEC, libc::FD_CLOEXEC);
+ assert_eq!(
14
+ libc::fcntl(fd, libc::F_GETFD) & libc::FD_CLOEXEC,
15
+ libc::FD_CLOEXEC
16
+ );
17
}
- let _ = std::fs::remove_file("test_file_for_fd_cloexec");
18
+ let _ = std::fs::remove_file("test_file_for_fd_cloexec");
19
0 commit comments