mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
3d6594a594
CI reports errors: error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> arch/src/x86_64/mod.rs:1351:19 | 1351 | epc_sections: &Vec<SgxEpcSection>, | ^^^^^^^^^^^^^^^^^^^ help: change this to: `&[SgxEpcSection]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `-D clippy::ptr-arg` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]` Signed-off-by: Yi Wang <foxywang@tencent.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |