Format
This commit is contained in:
parent
77e01776f5
commit
a9717d570d
5 changed files with 28 additions and 10 deletions
|
|
@ -72,7 +72,10 @@ pub fn parse_bounds(bounds_str: &str) -> Result<(f64, f64, f64, f64), (StatusCod
|
|||
if south > north {
|
||||
return Err((
|
||||
StatusCode::BAD_REQUEST,
|
||||
format!("Invalid bounds: south ({}) must be <= north ({})", south, north),
|
||||
format!(
|
||||
"Invalid bounds: south ({}) must be <= north ({})",
|
||||
south, north
|
||||
),
|
||||
));
|
||||
}
|
||||
if west > east {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue