Skip to content

Commit

Permalink
Merge pull request #2 from Virux/main
Browse files Browse the repository at this point in the history
Minor typo corrections
  • Loading branch information
phil-opp authored Mar 9, 2023
2 parents 61897a4 + acf7a14 commit e34e6c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e34e6c6

Please sign in to comment.