This commit is contained in:
Austen Adler 2023-02-09 23:27:39 -05:00
parent 8ec3ab3338
commit b5e854521f

View File

@ -381,9 +381,9 @@ fn parse_arguments(args: &[String]) -> Result<(Register, Operation, Register), K
Register::Caret, Register::Caret,
)) ))
} }
_ => Err(KakError::Custom( _ => Err(KakError::Custom(format!(
format!("Invalid arguments to set command: {args:?}"), "Invalid arguments to set command: {args:?}"
)), ))),
}?; }?;
if left_register == right_register { if left_register == right_register {