We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
let_and_return
1 parent bc0cb68 commit 334d72dCopy full SHA for 334d72d
src/r3_core/src/kernel/interrupt.rs
@@ -683,7 +683,7 @@ pub const unsafe fn new_interrupt_handler_table<
683
i += 1;
684
}
685
686
- let storage = const_array_from_fn! {
+ const_array_from_fn! {
687
fn iter<[T: MakeCombinedHandlersTrait], I: Nat>(ref mut cell: T) -> Option<InterruptHandlerFn> {
688
// The interrupt line
689
let line = I::N;
@@ -709,9 +709,7 @@ pub const unsafe fn new_interrupt_handler_table<
709
Handlers,
710
NUM_HANDLERS,
711
>], i>(MakeCombinedHandlers(PhantomData))).collect::<[_; NumLines]>()
712
- };
713
-
714
- storage
+ }
715
716
717
#[doc(hidden)]
0 commit comments