mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
remove a lot of unecessary clone and ref
This commit is contained in:
parent
4d25c159e6
commit
7e52f1effb
5 changed files with 32 additions and 32 deletions
|
@ -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 )
|
||||
);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue