--> vmm/src/acpi.rs:708:14
|
708 | .get(&(DeviceType::Serial, DeviceType::Serial.to_string()))
| ______________^
709 | | .is_some();
| |______________________^ help: replace it with: `contains_key(&(DeviceType::Serial, DeviceType::Serial.to_string()))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check
= note: `-D clippy::unnecessary-get-then-check` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_get_then_check)]`
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||