Skip to content

Commit

Permalink
ignore new clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
breqdev committed Nov 10, 2023
1 parent ae61ef1 commit f6242ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cpu/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ impl Fetch for Mos6502 {
}
}

#[allow(clippy::manual_range_patterns)]
fn fetch_operand_address(&mut self, opcode: u8) -> (u16, u8) {
match opcode & 0x1F {
0x00 | 0x02 | 0x09 | 0x0B => panic!("Immediate operand has no address"),
Expand Down

0 comments on commit f6242ed

Please sign in to comment.