From 1af767b881e1c895a21a83887d03f9b15984f2bb Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Wed, 8 Nov 2023 08:34:32 -0500 Subject: [PATCH] Silence clippy false positive --- src/util/interrupt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/interrupt.rs b/src/util/interrupt.rs index 219b9ff..8ac5463 100644 --- a/src/util/interrupt.rs +++ b/src/util/interrupt.rs @@ -8,6 +8,7 @@ pub struct Interrupt { pub interrupt: AVIOInterruptCB, } +#[allow(clippy::needless_borrow)] extern "C" fn callback(opaque: *mut c_void) -> c_int where F: FnMut() -> bool,