From bfc9d3d6d342c69ed98f9987ebea59f5af96b5ee Mon Sep 17 00:00:00 2001 From: Josh Guilfoyle Date: Tue, 5 Dec 2023 16:56:11 -0800 Subject: [PATCH] poll: Fix old comment not relevant after a refactor in the original PR. Closes #1728 --- src/sys/unix/selector/poll.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sys/unix/selector/poll.rs b/src/sys/unix/selector/poll.rs index cfafbc182..8346e07bc 100644 --- a/src/sys/unix/selector/poll.rs +++ b/src/sys/unix/selector/poll.rs @@ -263,9 +263,9 @@ impl SelectorState { closed_raw_fds.push(poll_fd.fd); } - // Remove the interest which just got triggered - // the IoSourceState/WakerRegistrar used with this selector will add back - // the interest using reregister. + // Remove the interest which just got triggered the IoSourceState's do_io + // wrapper used with this selector will add back the interest using + // reregister. poll_fd.events &= !poll_fd.revents; // Minor optimization to potentially avoid looping n times where n is the