cloud-hypervisor/pci/src
Sebastien Boeuf 658c076eb2 linters: Fix clippy issues
Latest clippy version complains about our existing code for the
following reasons:

- trait objects without an explicit `dyn` are deprecated
- `...` range patterns are deprecated
- lint `clippy::const_static_lifetime` has been renamed to
  `clippy::redundant_static_lifetimes`
- unnecessary `unsafe` block
- unneeded return statement

All these issues have been fixed through this patch, and rustfmt has
been run to cleanup potential formatting errors due to those changes.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-08-15 09:10:04 -07:00
..
bus.rs linters: Fix clippy issues 2019-08-15 09:10:04 -07:00
configuration.rs pci: Fix add_capability unit test 2019-08-03 08:43:44 +01:00
device.rs linters: Fix clippy issues 2019-08-15 09:10:04 -07:00
lib.rs pci: Add MSI capability structure 2019-07-22 09:50:10 -07:00
msi.rs pci: Add MSI capability structure 2019-07-22 09:50:10 -07:00
msix.rs pci: Add MSI-X helper to check if interrupts are enabled 2019-08-08 17:38:47 +01:00