From aea64e974fdf6f725a472b56379ff744690b1350 Mon Sep 17 00:00:00 2001 From: Corwin Date: Tue, 11 Apr 2023 20:59:45 +0100 Subject: [PATCH] change of language --- agb/src/interrupt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/src/interrupt.rs b/agb/src/interrupt.rs index dda401fc..6cb8593d 100644 --- a/agb/src/interrupt.rs +++ b/agb/src/interrupt.rs @@ -231,7 +231,7 @@ fn interrupt_to_root(interrupt: Interrupt) -> &'static InterruptRoot { /// - Many functions in agb allocate and it isn't always clear. /// /// # Staticness -/// * The closure must be static because forgetting the interrupt handler will +/// * The closure must be static because forgetting the interrupt handler would /// cause a use after free. /// /// [`CriticalSection`]: bare_metal::CriticalSection