crosvm/third_party
Daniel Verkamp 4fb38ced74 base: improve the WaitContext doc test
Use the PollToken derive and the build_with() function to make the
example more representative of actual uses.

BUG=None
TEST=cargo doc
TEST=cargo test -p base --doc wait_context

Change-Id: I1f154dfd6247786024dc94035ea63db11968e85a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3630424
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Noah Gold <nkgold@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2022-05-06 20:46:59 +00:00
..
minigbm@ef852e007c Uprev all submodules 2021-10-19 19:12:53 +00:00
minijail@4170a270c9 base: improve the WaitContext doc test 2022-05-06 20:46:59 +00:00
virglrenderer@2a5fb800c6 Uprev all submodules 2021-10-19 19:12:53 +00:00
vmm_vhost Rust 1.60 clippy fixes 2022-04-11 20:40:36 +00:00