mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
apply review comments
This commit is contained in:
parent
8ebfc9fa92
commit
ae5a04e85c
2 changed files with 2 additions and 6 deletions
|
@ -471,10 +471,6 @@ pub enum Kind {
|
|||
}
|
||||
|
||||
impl Kind {
|
||||
pub fn all_variants() -> Vec<Self> {
|
||||
enum_iterator::all::<Kind>().collect()
|
||||
}
|
||||
|
||||
pub fn related_to_one_index(&self) -> bool {
|
||||
match self {
|
||||
Kind::DocumentAdditionOrUpdate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue