remove a lot of unecessary clone and ref

This commit is contained in:
Irevoire
2022-10-25 10:53:29 +02:00
committed by Clément Renault
parent 4d25c159e6
commit 7e52f1effb
5 changed files with 32 additions and 32 deletions

View File

@ -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 )
);
}
},