Update milli/src/asc_desc.rs

Co-authored-by: Tamo <irevoire@protonmail.ch>
This commit is contained in:
filip 2023-02-13 18:02:33 +01:00 committed by Filip Bachul
parent c810af3ebf
commit 7f25007d31

View File

@ -165,7 +165,7 @@ impl FromStr for AscDesc {
#[derive(Error, Debug)]
pub enum SortError {
#[error("{}", error)]
#[error(transparent)]
ParseGeoError { error: ParseGeoError },
#[error("Invalid syntax for the geo parameter: expected expression formated like \
`_geoPoint(latitude, longitude)` and ending by `:asc` or `:desc`, found `{name}`.")]