@@ -160,11 +160,11 @@ pub fn create(flags: CreateFlags) -> io::Result<OwnedFd> {
160160 unsafe { ret_owned_fd ( c:: epoll_create1 ( bitflags_bits ! ( flags) ) ) }
161161}
162162
163- /// `epoll_ctl(self, EPOLL_CTL_ADD, data, event)`—Adds an element to an
164- /// epoll object.
163+ /// `epoll_ctl(self, EPOLL_CTL_ADD, data, event)`—Adds an element to an epoll
164+ /// object.
165165///
166- /// This registers interest in any of the events set in `events` occurring
167- /// on the file descriptor associated with `data`.
166+ /// This registers interest in any of the events set in `events` occurring on
167+ /// the file descriptor associated with `data`.
168168///
169169/// If [`delete`] is not called on the I/O source passed into this function
170170/// before the I/O source is `close`d, then the `epoll` will act as if the I/O
@@ -198,8 +198,8 @@ pub fn add(
198198 }
199199}
200200
201- /// `epoll_ctl(self, EPOLL_CTL_MOD, target, event)`—Modifies an element in
202- /// a given epoll object.
201+ /// `epoll_ctl(self, EPOLL_CTL_MOD, target, event)`—Modifies an element in a
202+ /// given epoll object.
203203///
204204/// This sets the events of interest with `target` to `events`.
205205#[ doc( alias = "epoll_ctl" ) ]
@@ -229,8 +229,8 @@ pub fn modify(
229229 }
230230}
231231
232- /// `epoll_ctl(self, EPOLL_CTL_DEL, target, NULL)`—Removes an element in
233- /// a given epoll object.
232+ /// `epoll_ctl(self, EPOLL_CTL_DEL, target, NULL)`—Removes an element in a
233+ /// given epoll object.
234234#[ doc( alias = "epoll_ctl" ) ]
235235pub fn delete ( epoll : impl AsFd , source : impl AsFd ) -> io:: Result < ( ) > {
236236 // SAFETY: We're calling `epoll_ctl` via FFI and we know how it
@@ -341,8 +341,8 @@ impl EventData {
341341
342342 /// Return the value as a `u64`.
343343 ///
344- /// If the stored value was a pointer, the pointer is zero-extended to
345- /// a `u64`.
344+ /// If the stored value was a pointer, the pointer is zero-extended to a
345+ /// `u64`.
346346 #[ inline]
347347 pub fn u64 ( self ) -> u64 {
348348 unsafe { self . as_u64 }
0 commit comments