Silence clippy false positive

This commit is contained in:
Josh Holmer 2023-11-08 08:34:32 -05:00
parent 05bad6e9e0
commit 1af767b881

View File

@ -8,6 +8,7 @@ pub struct Interrupt {
pub interrupt: AVIOInterruptCB,
}
#[allow(clippy::needless_borrow)]
extern "C" fn callback<F>(opaque: *mut c_void) -> c_int
where
F: FnMut() -> bool,