mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
fix clippy
This commit is contained in:
parent
b406b6ee44
commit
704defea78
5 changed files with 17 additions and 14 deletions
|
@ -25,10 +25,7 @@ impl<T> OptionAll<T> {
|
|||
}
|
||||
|
||||
pub fn is_all(&self) -> bool {
|
||||
match self {
|
||||
OptionAll::All => true,
|
||||
_ => false,
|
||||
}
|
||||
matches!(self, OptionAll::All)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue