mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-17 08:10:14 +08:00
re-ignore the ! symbol when generating a good error message
This commit is contained in:
parent
bff48681d2
commit
7c3017734a
@ -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)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user