crosvm/bin
Zach Reizner d09392e37e uprev rust-toolchain and fix clippy warnings
Some judgement calls were made about unnecessary wrapping. Usually they
would get resolved by removing the wrapping or returning a convenient
error, but the ones that returned results for consistency with other
functions were added to the allow list.

The error handling in the usb code had a lot of unit error types which
is now a clippy lint. This was resolved by either removing the result
entirely or returning a convenient error.

The field_reassign_with_default lint is faulty and was added to the list
of supressions. This affected virtio-wayland code.

BUG=b:179277332
TEST=cargo clippy with rustc 1.50+

Change-Id: Ie812cdeaf7c42f4f2b47b1dc87f05a7c87a60f8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2757510
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Auto-Submit: Zach Reizner <zachr@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2021-03-22 21:41:07 +00:00
..
clippy uprev rust-toolchain and fix clippy warnings 2021-03-22 21:41:07 +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
sync_ebuild_files Add script to sync Cargo.lock with ebuild files 2021-02-27 06:44:49 +00:00