Skip to content

Commit f2254c8

Browse files
authored
Make compiler/Clippy happy (#174)
1 parent 6144829 commit f2254c8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
unused_import_braces,
5656
unused_lifetimes,
5757
unused_qualifications,
58-
pointer_structural_match,
5958
missing_debug_implementations
6059
)]
6160
#![allow(clippy::missing_panics_doc)]

src/registers/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ where
7676
/// ```
7777
pub unsafe fn new(mmio_base: usize, mapper: M) -> Self {
7878
let capability = Capability::new(mmio_base, &mapper);
79-
let doorbell = doorbell::Doorbell::new(mmio_base, &capability, mapper.clone());
79+
let doorbell = Doorbell::new(mmio_base, &capability, mapper.clone());
8080
let operational =
8181
Operational::new(mmio_base, capability.caplength.read_volatile(), &mapper);
8282
let port_register_set = PortRegisterSet::new(mmio_base, &capability, mapper.clone());

0 commit comments

Comments
 (0)