mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
Move the Ok(()) return value to a separate expression. uring_executor::add_future returns (), so this is effectively the same, but clippy complains about the previous form: error: passing a unit value to a function BUG=None TEST=bin/clippy Change-Id: I8a05ae340568fa4ce94b35f9bf3dbd426a83219e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2253066 Reviewed-by: Dylan Reid <dgreid@chromium.org> Tested-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |