mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-11 23:27:40 +00:00
9f316b2e50
warning: this argument is a mutable reference, but not used mutably --> hypervisor/src/arch/x86/emulator/instructions/mod.rs:22:15 | 22 | platform: &mut dyn PlatformEmulator<CpuState = T>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing to: `&dyn PlatformEmulator<CpuState = T>` | = note: this is cfg-gated and may require further changes = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut Signed-off-by: Rob Bradford <rbradford@rivosinc.com> (cherry picked from commit 239f422203306b1423d29322067ab133e4e106dd)