mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
error: calls to `push` immediately after creation
--> acpi_tables/src/aml.rs:1194:9
|
1194 | / let mut bytes = Vec::new();
1195 | | bytes.push(0x8a); /* CreateDWordFieldOp */
| |_________________________^ help: consider using the `vec![]` macro: `let mut bytes = vec![..];`
|
|
= 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>