From 3c45d0a59988784098cd26b31c21d680ccedc132 Mon Sep 17 00:00:00 2001 From: tiif Date: Mon, 16 Sep 2024 23:00:34 +0800 Subject: [PATCH] Update tests/pass-dep/tokio/issue-3858.rs Co-authored-by: Ralf Jung --- tests/pass-dep/tokio/issue-3858.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pass-dep/tokio/issue-3858.rs b/tests/pass-dep/tokio/issue-3858.rs index 914e814916..10a5b9a575 100644 --- a/tests/pass-dep/tokio/issue-3858.rs +++ b/tests/pass-dep/tokio/issue-3858.rs @@ -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);