From 651a22b1ed0baca7ae9427abbe69bfc6ce718ced Mon Sep 17 00:00:00 2001 From: Many the fish Date: Tue, 23 Aug 2022 18:11:20 +0200 Subject: [PATCH] Enhance enum documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Renault --- meilisearch-lib/src/index/search.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meilisearch-lib/src/index/search.rs b/meilisearch-lib/src/index/search.rs index 5c2882f21..57171d529 100644 --- a/meilisearch-lib/src/index/search.rs +++ b/meilisearch-lib/src/index/search.rs @@ -62,9 +62,9 @@ pub struct SearchQuery { #[derive(Deserialize, Debug, Clone, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub enum MatchingStrategy { - // remove last word first + /// Remove query words from last to first Last, - // all words are mandatory + /// All query words are mandatory All, }