From dc84ecc40b16eaf3ced19b9b8282d4723525e431 Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 1 Sep 2021 10:56:19 +0200 Subject: [PATCH] fix a bug --- milli/src/criterion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/criterion.rs b/milli/src/criterion.rs index 35268461e..ea3214c8e 100644 --- a/milli/src/criterion.rs +++ b/milli/src/criterion.rs @@ -84,7 +84,7 @@ impl FromStr for Member { .ok_or_else(|| UserError::InvalidCriterionName { name: text.to_string() })?; let point = point .split(',') - .map(|el| el.trim()).parse() + .map(|el| el.trim().parse()) .collect::, _>>() .map_err(|_| UserError::InvalidCriterionName { name: text.to_string() })?; Ok(Member::Geo([point[0], point[1]]))