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>(
|
||||
f: &'a mut dyn FnMut(),
|
||||
interrupt: Interrupt,
|
||||
) -> InterruptClosureBounded<'a> {
|
||||
pub fn get_interrupt_handle(f: &mut dyn FnMut(), interrupt: Interrupt) -> InterruptClosureBounded {
|
||||
let root = match interrupt {
|
||||
Interrupt::VBlank => unsafe { &INTERRUPT_TABLE.vblank },
|
||||
_ => unimplemented!(
|
||||
|
|
Loading…
Add table
Reference in a new issue