mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 08:11:04 +00:00
remove a lot of unecessary clone and ref
This commit is contained in:
committed by
Clément Renault
parent
4d25c159e6
commit
7e52f1effb
@ -436,7 +436,7 @@ impl IndexScheduler {
|
||||
}
|
||||
Details::Dump { dump_uid: d1 } => {
|
||||
assert!(
|
||||
matches!(&kind, KindWithContent::DumpExport { dump_uid: d2, keys: _, instance_uid: _ } if &d1 == d2 )
|
||||
matches!(&kind, KindWithContent::DumpCreation { dump_uid: d2, keys: _, instance_uid: _ } if &d1 == d2 )
|
||||
);
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user