Satisfy clippy
parent
e0745e149f
commit
8293244d6c
|
@ -18,6 +18,10 @@ pub struct Processor {
|
|||
}
|
||||
|
||||
impl Processor {
|
||||
/// Run the next instruction on the processor, advancing the program counter
|
||||
///
|
||||
/// # Panics
|
||||
/// Panics if the program counter points outside of valid memory
|
||||
pub fn run_next_instruction(&mut self) {
|
||||
let pc = self.registers.program_counter;
|
||||
let memory_view = self
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
//! The `misc` module holds instructions that I couldn't think of a better category for
|
||||
|
||||
#[allow(clippy::module_name_repetitions)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum MiscInstruction {
|
||||
SetCarryFlag,
|
||||
|
|
Loading…
Reference in New Issue