diff --git a/src/bin/machine.rs b/src/bin/machine.rs index 04a85d5..2ce6198 100644 --- a/src/bin/machine.rs +++ b/src/bin/machine.rs @@ -30,9 +30,9 @@ impl FromStr for Instruction { let instruction = items .next() .ok_or(InstructionParseError::EmptyInstruction)?; - let operand = items.next().ok_or_else(|| InstructionParseError::MissingOperand( - instruction.to_string(), - ))?; + let operand = items + .next() + .ok_or_else(|| InstructionParseError::MissingOperand(instruction.to_string()))?; let operand_value = isize::from_str(operand)?; match instruction {