mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 00:11:16 +00:00
To reflect updated clippy rules: error: `if` chain can be rewritten with `match` --> vmm/src/device_manager.rs:1508:25 | 1508 | / if ret > 0 { 1509 | | debug!("MSI message successfully delivered"); 1510 | | } else if ret == 0 { 1511 | | warn!("failed to deliver MSI message, blocked by guest"); 1512 | | } | |_________________________^ | = note: `-D clippy::comparison-chain` implied by `-D warnings` = help: Consider rewriting the `if` chain to use `cmp` and `match`. = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |