diff --git a/src/enumerators/mod.rs b/src/enumerators/mod.rs index 8d77af6..1bfca85 100644 --- a/src/enumerators/mod.rs +++ b/src/enumerators/mod.rs @@ -73,6 +73,7 @@ pub fn default_pci_enumerator() -> Result { Err::(PciInfoError::NoDefaultPciEnumeratorForPlatform) } +#[allow(dead_code)] struct InvalidPciEnumerator; impl PciEnumerator for InvalidPciEnumerator { fn enumerate_pci(self) -> Result {