build: Address issues found by 1.43.0 clippy

These are mostly due to use of "bare use" statements and unnecessary vector
creation.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2020-05-27 15:19:54 +01:00
committed by Samuel Ortiz
parent fbd1a6c5f1
commit c31ad72ee9
25 changed files with 51 additions and 90 deletions

View File

@@ -8,7 +8,6 @@ use crate::configuration::{
use crate::device::{DeviceRelocation, Error as PciDeviceError, PciDevice};
use byteorder::{ByteOrder, LittleEndian};
use devices::BusDevice;
use std;
use std::any::Any;
use std::collections::HashMap;
use std::ops::DerefMut;