mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
f1856bb27c
warning: assigning the result of `Clone::clone()` may be inefficient --> devices/src/pvpanic.rs:213:9 | 213 | self.bar_regions = bars.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.bar_regions.clone_from(&bars)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones = note: `#[warn(clippy::assigning_clones)]` on by default Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |