Skip to content

Commit

Permalink
Update tests/pass-dep/tokio/issue-3858.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Jung <post@ralfj.de>
  • Loading branch information
tiif and RalfJung committed Sep 16, 2024
1 parent f790155 commit 3c45d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pass-dep/tokio/issue-3858.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn main() {
let newfd = unsafe { libc::dup(epfd) };
assert_ne!(newfd, -1);

// Close the epoll instance.
// Close the old epoll instance, so the new FD is now the only FD.
let res = unsafe { libc::close(epfd) };
assert_eq!(res, 0);

Expand Down

0 comments on commit 3c45d0a

Please sign in to comment.