From a518a3bbcdbe75500a2a3d67432979ce2c8272b0 Mon Sep 17 00:00:00 2001 From: Adam Wick Date: Sat, 12 Dec 2020 14:11:12 -0800 Subject: [PATCH] Mising formatting mod. --- src/bin/machine.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {