mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
fix brackets
This commit is contained in:
parent
686ded4377
commit
69b1ea5e47
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue