From 7f25007d31ab3a87afcae0984c5e605d79f54022 Mon Sep 17 00:00:00 2001 From: filip Date: Mon, 13 Feb 2023 18:02:33 +0100 Subject: [PATCH] Update milli/src/asc_desc.rs Co-authored-by: Tamo --- milli/src/asc_desc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/asc_desc.rs b/milli/src/asc_desc.rs index ecac4194a..3d6ec2d24 100644 --- a/milli/src/asc_desc.rs +++ b/milli/src/asc_desc.rs @@ -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}`.")]