mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-07-07 18:25:44 +00:00
Address updated clippy errors: error: redundant clone --> vmm/src/device_manager.rs:699:32 | 699 | .insert(acpi_device.clone(), 0x3c0, 0x4) | ^^^^^^^^ help: remove this | = note: `-D clippy::redundant-clone` implied by `-D warnings` note: this value is dropped without further use --> vmm/src/device_manager.rs:699:21 | 699 | .insert(acpi_device.clone(), 0x3c0, 0x4) | ^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone error: redundant clone --> vmm/src/device_manager.rs:737:26 | 737 | .insert(i8042.clone(), 0x61, 0x4) | ^^^^^^^^ help: remove this | note: this value is dropped without further use --> vmm/src/device_manager.rs:737:21 | 737 | .insert(i8042.clone(), 0x61, 0x4) | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone error: redundant clone --> vmm/src/device_manager.rs:754:29 | 754 | .insert(cmos.clone(), 0x70, 0x2) | ^^^^^^^^ help: remove this | note: this value is dropped without further use --> vmm/src/device_manager.rs:754:25 | 754 | .insert(cmos.clone(), 0x70, 0x2) | ^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |