fix brackets

This commit is contained in:
Corwin 2023-04-06 21:47:21 +01:00
parent 686ded4377
commit 69b1ea5e47
No known key found for this signature in database

View file

@ -248,8 +248,8 @@ fn interrupt_to_root(interrupt: Interrupt) -> &'static InterruptRoot {
/// let _a = unsafe { /// let _a = unsafe {
/// add_interrupt_handler(Interrupt::VBlank, |_: CriticalSection| { /// add_interrupt_handler(Interrupt::VBlank, |_: CriticalSection| {
/// agb::println!("Woah there! There's been a vblank!"); /// agb::println!("Woah there! There's been a vblank!");
/// } /// })
/// }); /// };
/// # } /// # }
/// ``` /// ```
pub unsafe fn add_interrupt_handler( pub unsafe fn add_interrupt_handler(