mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 04:09:48 +00:00
cf5d251863
Avoid .get()ting something just to check if it's present; use .contains_key() instead (or .entry() in the case where we want to insert an item if the key is not present). BUG=b:344974550 TEST=tools/clippy Change-Id: I78ee9e5a7ad9ffd693d9a50a347663444e1516a2 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5609074 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |