mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 11:25:20 +00:00
bc84a1c79b
Update for clippy in Rust 1.50.0: error: Unnecessary nested match --> vmm/src/vm.rs:419:17 | 419 | / if let vm_device::BusError::MissingAddressRange = e { 420 | | warn!("Guest MMIO write to unregistered address 0x{:x}", gpa); 421 | | } | |_________________^ | = note: `-D clippy::collapsible-match` implied by `-D warnings` help: The outer pattern can be modified to include the inner pattern. --> vmm/src/vm.rs:418:17 | 418 | Err(e) => { | ^ Replace this binding 419 | if let vm_device::BusError::MissingAddressRange = e { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |