Apply review comments

This commit is contained in:
Guillaume Mourier
2022-11-01 09:56:38 +01:00
committed by Louis Dureuil
parent b297b5deb0
commit 2d66fdc8e9
3 changed files with 3 additions and 4 deletions

View File

@ -351,7 +351,6 @@ fn parse_geo_bounding_box(input: Span) -> IResult<FilterCondition> {
return Err(nom::Err::Failure(Error::new_from_kind(input, ErrorKind::GeoBoundingBox)));
}
//TODO: Check sub array length
let res = FilterCondition::GeoBoundingBox {
top_left_point: [args[0][0].into(), args[0][1].into()],
bottom_right_point: [args[1][0].into(), args[1][1].into()],