mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
Retrieve the translation response, which involves taking a mutable borrow of a RefCell as well as locking a Mutex, inside its own block so that the references are dropped before using await again. Fixes two new clippy warnings from Rust 1.61.0: - <https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref> - <https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock> BUG=None TEST=tools/clippy # Rust 1.61.0 Change-Id: If573af56968dceeae72a61a74f9f69dad8730364 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3671596 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Anton Romanov <romanton@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |