crosvm/src
Jakub Staron b6515a9167 crosvm: fix clippy warnings
Resolve a couple of minor clippy warnings:
 - unneeded return statement
 - use `if let` instead of `match` for single pattern destruction
 - use `values()` function to iterate over map values
 - supress warning about `ptr::null()` as expressed by the comment

BUG=None
TEST=./bin/clippy
TEST=cargo build

Change-Id: Ic4cea94cd3a25a9edf6ef38119de8c46dcfec563
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1646739
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Commit-Queue: Jakub Staroń <jstaron@google.com>
2019-06-08 04:27:37 +00:00
..
plugin Initial BIOS support. 2019-05-31 17:21:46 -07:00
argument.rs edition: Eliminate ref keyword 2019-04-18 19:51:01 -07:00
linux.rs crosvm: fix clippy warnings 2019-06-08 04:27:37 +00:00
main.rs crosvm: fix clippy warnings 2019-06-08 04:27:37 +00:00
panic_hook.rs edition: Fill in macro imports 2019-04-15 02:06:07 -07:00