From acf7a1463b3c606c69ee38845e4ac1234286a49d Mon Sep 17 00:00:00 2001 From: Virux Date: Mon, 27 Feb 2023 15:03:40 +0000 Subject: [PATCH] Minor typo corrections --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index a1ad010..67ba427 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -46,10 +46,10 @@ struct Pic { } impl Pic { - /// Are we in change of handling the specified interrupt? + /// Are we in charge of handling the specified interrupt? /// (Each PIC handles 8 interrupts.) - fn handles_interrupt(&self, interupt_id: u8) -> bool { - self.offset <= interupt_id && interupt_id < self.offset + 8 + fn handles_interrupt(&self, interrupt_id: u8) -> bool { + self.offset <= interrupt_id && interrupt_id < self.offset + 8 } /// Notify us that an interrupt has been handled and that we're ready