crosvm/bin
Daniel Verkamp c80319182d tree-wide: replace single-leaf match with if let
Fixes the clippy warning:

  you seem to be trying to use `match` for destructuring a single
  pattern. Consider using `if let`

https://rust-lang.github.io/rust-clippy/master/index.html#single_match

BUG=None
TEST=bin/clippy

Change-Id: I5901a1fa0f487e0f012bad4c21b43ea300348031
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2885786
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
2021-05-25 21:50:46 +00:00
..
clippy tree-wide: replace single-leaf match with if let 2021-05-25 21:50:46 +00:00
crate_coverage Add scripts to run code coverage 2020-10-27 05:22:32 +00:00
fmt bin/fmt: Set rustfmt edition to 2018 2020-02-05 09:00:27 +00:00
preupload-clippy crosvm: Add a pre-upload hook to run clippy 2020-07-28 16:29:06 +00:00