don't clone types that are copy
found via clippy
This commit is contained in:
parent
4884061838
commit
7fbd30b1ae
15 changed files with 18 additions and 20 deletions
|
|
@ -236,7 +236,7 @@ fn encode_work_product_index(
|
|||
let serialized_products: Vec<_> = work_products
|
||||
.iter()
|
||||
.map(|(id, work_product)| SerializedWorkProduct {
|
||||
id: id.clone(),
|
||||
id: *id,
|
||||
work_product: work_product.clone(),
|
||||
})
|
||||
.collect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue