Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio-devices: Fix beta clippy issue
error: use of a fallible conversion when an infallible one could be used Error: --> virtio-devices/src/vhost_user/vu_common_ctrl.rs:206:51 | 206 | let actual_size: usize = queue.size().try_into().unwrap(); | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions = note: `-D clippy::unnecessary-fallible-conversions` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unnecessary_fallible_conversions)]` error: could not compile `virtio-devices` (lib) due to previous error Error: warning: build failed, waiting for other jobs to finish... error: could not compile `virtio-devices` (lib test) due to previous error Error: The process '/home/runner/.cargo/bin/cargo' failed with exit code 101 Signed-off-by: Bo Chen <[email protected]>
- Loading branch information