mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-23 06:05:21 +00:00
970bc05271
--> arch/src/aarch64/mod.rs:82:5 | 82 | / let mut regions = Vec::new(); 83 | | // 0 ~ 256 MiB: Reserved 84 | | regions.push(( 85 | | GuestAddress(0), ... | 107 | | RegionType::Ram, 108 | | )); | |_______^ help: consider using the `vec![]` macro: `let mut regions = vec![..];` | = note: `-D clippy::vec-init-then-push` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |