mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-23 07:36:33 +11:00
satisfy linter by removing elidable lifetime
This commit is contained in:
parent
2cc0bee7c3
commit
ebfd637300
1 changed files with 1 additions and 4 deletions
|
@ -151,10 +151,7 @@ fn get_interrupt_handle_root<'a>(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_interrupt_handle<'a>(
|
pub fn get_interrupt_handle(f: &mut dyn FnMut(), interrupt: Interrupt) -> InterruptClosureBounded {
|
||||||
f: &'a mut dyn FnMut(),
|
|
||||||
interrupt: Interrupt,
|
|
||||||
) -> InterruptClosureBounded<'a> {
|
|
||||||
let root = match interrupt {
|
let root = match interrupt {
|
||||||
Interrupt::VBlank => unsafe { &INTERRUPT_TABLE.vblank },
|
Interrupt::VBlank => unsafe { &INTERRUPT_TABLE.vblank },
|
||||||
_ => unimplemented!(
|
_ => unimplemented!(
|
||||||
|
|
Loading…
Add table
Reference in a new issue