diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-04-10 13:06:08 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-04-10 13:33:58 +0000 |
commit | d1ea7fc8d6b750ba75df719fb932984ab1ef5f11 (patch) | |
tree | 9a7048fd262939fa0067b5a4239e38d907266a81 /sys_util | |
parent | 6d6c7532b7146d55cfbd78500171d4d5edaa2313 (diff) | |
download | crosvm-d1ea7fc8d6b750ba75df719fb932984ab1ef5f11.tar crosvm-d1ea7fc8d6b750ba75df719fb932984ab1ef5f11.tar.gz crosvm-d1ea7fc8d6b750ba75df719fb932984ab1ef5f11.tar.bz2 crosvm-d1ea7fc8d6b750ba75df719fb932984ab1ef5f11.tar.lz crosvm-d1ea7fc8d6b750ba75df719fb932984ab1ef5f11.tar.xz crosvm-d1ea7fc8d6b750ba75df719fb932984ab1ef5f11.tar.zst crosvm-d1ea7fc8d6b750ba75df719fb932984ab1ef5f11.zip |
sys_util: EpollContext doc copy edits
Diffstat (limited to 'sys_util')
-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 |