diff --git a/src/event/epoll.rs b/src/event/epoll.rs index bd83b0820..56fc930a1 100644 --- a/src/event/epoll.rs +++ b/src/event/epoll.rs @@ -102,7 +102,7 @@ pub fn create(flags: CreateFlags) -> io::Result { /// `epoll_ctl(self, EPOLL_CTL_ADD, data, event)`—Adds an element to an epoll /// object. /// -/// This registers interest in any of the events set in `events` occurring on +/// This registers interest in any of the events set in `event_flags` occurring on /// the file descriptor associated with `data`. /// /// Note that `close`ing a file descriptor does not necessarily unregister interest