diff options
Diffstat (limited to 'sys_util/src')
-rw-r--r-- | sys_util/src/poll.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys_util/src/poll.rs b/sys_util/src/poll.rs index 54d4354..58c5efa 100644 --- a/sys_util/src/poll.rs +++ b/sys_util/src/poll.rs @@ -281,10 +281,10 @@ impl WatchingEvents { } } -/// EpollContext wraps linux epoll. It provides similar interface to PollContext. -/// It is thread safe while PollContext is not. It requires user to pass in a reference of -/// EpollEvents while PollContext does not. Always use PollContext if you don't need to access the -/// same epoll from different threads. +/// `EpollContext` wraps linux epoll. It provides a similar interface to `PollContext`. +/// It is thread safe while `PollContext` is not. It requires the user to pass in a reference of +/// `EpollEvent`s while `PollContext` does not. Always use `PollContext` if you don't need to +/// access the same epoll from different threads. pub struct EpollContext<T> { epoll_ctx: File, // Needed to satisfy usage of T |