From 14ae01a6c9a80fa43d7c8cf53f53801cae1949ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Mon, 1 Feb 2021 18:10:57 +0100 Subject: [PATCH] Fix some typos in error messages --- src/search/facet/facet_condition.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search/facet/facet_condition.rs b/src/search/facet/facet_condition.rs index 8e7d16a83..578344d37 100644 --- a/src/search/facet/facet_condition.rs +++ b/src/search/facet/facet_condition.rs @@ -161,10 +161,10 @@ impl FacetCondition { ) -> anyhow::Result { let fid = fields_ids_map.id(key).with_context(|| { - format!("{:?} must isn't part of the fields ids map", key) + format!("{:?} isn't present in the fields ids map", key) })?; let ftype = faceted_fields.get(key).copied().with_context(|| { - format!("{:?} must isn't a faceted field", key) + format!("{:?} isn't a faceted field", key) })?; let (neg, value) = match value.trim().strip_prefix('-') { Some(value) => (true, value.trim()),