mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
d09392e37e
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> |
||
---|---|---|
.. | ||
bit_field_derive | ||
src | ||
tests | ||
Cargo.toml |