Enhance enum documentation

Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
Many the fish 2022-08-23 18:11:20 +02:00 committed by GitHub
parent c9bb111ef3
commit 651a22b1ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}