diff --git a/src/lib.rs b/src/lib.rs index a64afa0..bd8e4e9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -55,7 +55,6 @@ unused_import_braces, unused_lifetimes, unused_qualifications, - pointer_structural_match, missing_debug_implementations )] #![allow(clippy::missing_panics_doc)] diff --git a/src/registers/mod.rs b/src/registers/mod.rs index b192dbd..53f436f 100644 --- a/src/registers/mod.rs +++ b/src/registers/mod.rs @@ -76,7 +76,7 @@ where /// ``` pub unsafe fn new(mmio_base: usize, mapper: M) -> Self { let capability = Capability::new(mmio_base, &mapper); - let doorbell = doorbell::Doorbell::new(mmio_base, &capability, mapper.clone()); + let doorbell = Doorbell::new(mmio_base, &capability, mapper.clone()); let operational = Operational::new(mmio_base, capability.caplength.read_volatile(), &mapper); let port_register_set = PortRegisterSet::new(mmio_base, &capability, mapper.clone());