cloud-hypervisor/acpi_tables/src
Rob Bradford d7decfd525 build: Fix beta clippy issue (unnecessary_to_owned)
warning: unnecessary use of `to_vec`
  --> acpi_tables/src/aml.rs:71:37
   |
71 |             bytes.extend_from_slice(&part.to_vec());
   |                                     ^^^^^^^^^^^^^^ help: use: `part.as_ref()`
   |
   = note: `#[warn(clippy::unnecessary_to_owned)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-06-30 20:50:45 +01:00
..
aml.rs build: Fix beta clippy issue (unnecessary_to_owned) 2022-06-30 20:50:45 +01:00
lib.rs acpi_tables: aml: Add support for generating AML name paths 2019-10-24 10:55:02 +01:00
rsdp.rs acpi_tables: add safety comment for impl ByteValued 2021-11-17 14:40:51 +00:00
sdt.rs clippy: Address the issue 'needless-borrow' 2021-06-24 08:55:43 +02:00