Skip to content

Commit a18bdc0

Browse files
mkroeningIsaacWoods
authored andcommitted
fix: don't take explicit reference in update_interrupt
Signed-off-by: Martin Kröning <[email protected]>
1 parent 9e036db commit a18bdc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ impl EndpointHeader {
435435
(data.get_bits(8..16) as u8, data.get_bits(0..8) as u8)
436436
}
437437

438-
pub fn update_interrupt<F>(&mut self, access: &impl ConfigRegionAccess, f: F)
438+
pub fn update_interrupt<F>(&mut self, access: impl ConfigRegionAccess, f: F)
439439
where
440440
F: FnOnce((InterruptPin, InterruptLine)) -> (InterruptPin, InterruptLine),
441441
{

0 commit comments

Comments
 (0)