mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 00:01:00 +00:00
re-ignore the ! symbol when generating a good error message
This commit is contained in:
@ -70,7 +70,7 @@ fn is_value_component(c: char) -> bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn is_syntax_component(c: char) -> bool {
|
fn is_syntax_component(c: char) -> bool {
|
||||||
c.is_whitespace() || ['(', ')', '=', '<', '>'].contains(&c)
|
c.is_whitespace() || ['(', ')', '=', '<', '>', '!'].contains(&c)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
Reference in New Issue
Block a user