Fix clippy warnings (#126)

This commit is contained in:
Mike Voronov
2021-09-29 12:58:10 +03:00
committed by GitHub
parent 6fef752281
commit 4072de7b60
25 changed files with 41 additions and 28 deletions

View File

@ -100,7 +100,7 @@ impl RecordsTransformer {
.map(|id| {
// unwrap is safe here because sorted_order is constructed based on record_types
let record = record_types.get(&id).unwrap();
Self::convert_record(id, record, &record_types)
Self::convert_record(id, record, record_types)
})
.collect::<Vec<_>>()
}