crosvm/base_tokio
Daniel Verkamp ac6fe3e31c Avoid clippy::blocks_in_conditions warnings
Assign the result of function calls that take closures to an
intermediate variable rather than matching on it directly to simplify
the complexity from clippy's point of view.

BUG=b:344974550
TEST=tools/clippy

Change-Id: I0e4b4201b59d8bd972c1f18e65bfd501893d58e5
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5617618
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Frederick Mayle <fmayle@google.com>
2024-06-11 00:18:47 +00:00
..
src Avoid clippy::blocks_in_conditions warnings 2024-06-11 00:18:47 +00:00
Cargo.toml base_tokio: tokio compatible Event and Tube types 2024-06-06 23:30:20 +00:00