Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jul 9, 2024
1 parent a12f0d1 commit 8558064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pcnt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ impl<'d> PcntDriver<'d> {
unsafe {
ISR_HANDLERS[self.unit as usize] = Some(core::mem::transmute::<
alloc::boxed::Box<dyn FnMut(u32)>,
IsrHandler,
alloc::boxed::Box<dyn FnMut(u32)>,
>(callback));
}
esp!(unsafe {
Expand Down

0 comments on commit 8558064

Please sign in to comment.