mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-25 17:31:16 +00:00
Found by updated clippy: error: redundant clone --> vm-virtio/src/block.rs:182:5 | 182 | .to_owned(); | ^^^^^^^^^^^ help: remove this | = note: `-D clippy::redundant-clone` implied by `-D warnings` note: this value is dropped without further use --> vm-virtio/src/block.rs:176:21 | 176 | let device_id = format!( | _____________________^ 177 | | "{}{}{}", 178 | | blk_metadata.st_dev(), 179 | | blk_metadata.st_rdev(), 180 | | blk_metadata.st_ino() 181 | | ) 182 | | .to_owned(); | |____^ = 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 |