2019: fix new clippy lints
This commit is contained in:
parent
deb808faf3
commit
9a2e37468f
5 changed files with 83 additions and 60 deletions
|
|
@ -90,7 +90,7 @@ fn get_ore_cost(
|
|||
in_stock += num_reactions * recipe.produced;
|
||||
}
|
||||
|
||||
inventory.insert(material.clone(), in_stock - quantity);
|
||||
inventory.insert(material, in_stock - quantity);
|
||||
|
||||
Ok(total)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue