FIX: cargo fmt. Automatic fixes
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
1017eef981
commit
8ca73c6224
@@ -95,9 +95,7 @@ fn parse_range(range: &str) -> Result<(i32, i32, i32, i32), String> {
|
||||
}
|
||||
} else if parts.len() == 2 {
|
||||
match (parse_reference_a1(parts[0]), parse_reference_a1(parts[1])) {
|
||||
(Some(left), Some(right)) => {
|
||||
Ok((left.row, left.column, right.row, right.column))
|
||||
}
|
||||
(Some(left), Some(right)) => Ok((left.row, left.column, right.row, right.column)),
|
||||
_ => Err(format!("Invalid range: '{range}'")),
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user