mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
Update milli/src/asc_desc.rs
Co-authored-by: Tamo <irevoire@protonmail.ch>
This commit is contained in:
parent
c810af3ebf
commit
7f25007d31
@ -165,7 +165,7 @@ impl FromStr for AscDesc {
|
|||||||
|
|
||||||
#[derive(Error, Debug)]
|
#[derive(Error, Debug)]
|
||||||
pub enum SortError {
|
pub enum SortError {
|
||||||
#[error("{}", error)]
|
#[error(transparent)]
|
||||||
ParseGeoError { error: ParseGeoError },
|
ParseGeoError { error: ParseGeoError },
|
||||||
#[error("Invalid syntax for the geo parameter: expected expression formated like \
|
#[error("Invalid syntax for the geo parameter: expected expression formated like \
|
||||||
`_geoPoint(latitude, longitude)` and ending by `:asc` or `:desc`, found `{name}`.")]
|
`_geoPoint(latitude, longitude)` and ending by `:asc` or `:desc`, found `{name}`.")]
|
||||||
|
Loading…
Reference in New Issue
Block a user