Silence clippy false positive
This commit is contained in:
parent
05bad6e9e0
commit
1af767b881
@ -8,6 +8,7 @@ pub struct Interrupt {
|
|||||||
pub interrupt: AVIOInterruptCB,
|
pub interrupt: AVIOInterruptCB,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::needless_borrow)]
|
||||||
extern "C" fn callback<F>(opaque: *mut c_void) -> c_int
|
extern "C" fn callback<F>(opaque: *mut c_void) -> c_int
|
||||||
where
|
where
|
||||||
F: FnMut() -> bool,
|
F: FnMut() -> bool,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user