Skip to content

Commit

Permalink
Make compiler/Clippy happy (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbydd authored Sep 2, 2024
1 parent 6144829 commit f2254c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
unused_import_braces,
unused_lifetimes,
unused_qualifications,
pointer_structural_match,
missing_debug_implementations
)]
#![allow(clippy::missing_panics_doc)]
Expand Down
2 changes: 1 addition & 1 deletion src/registers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit f2254c8

Please sign in to comment.