mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-05 19:29:40 +00:00
error: redundant slicing of the whole range Error: --> devices/src/legacy/gpio_pl061.rs:298:37 | 298 | let value = read_le_u32(&data[..]); | ^^^^^^^^^ help: use the original slice instead: `data` | = note: `-D clippy::redundant-slicing` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing Signed-off-by: Rob Bradford <robert.bradford@intel.com>