Skip to content

Commit 7f6a90e

Browse files
committed
Fix lint
1 parent 3744753 commit 7f6a90e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/forge-runner/src/gas/report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ impl Display for ContractId {
143143

144144
fn get_contract_id(contracts_data: &ContractsDataStore, class_hash: ClassHash) -> ContractId {
145145
match contracts_data.get_contract_name(&class_hash) {
146-
Some(name) => ContractId::LocalContract(name.0.to_string()),
146+
Some(name) => ContractId::LocalContract(name.0.clone()),
147147
None => ContractId::ForkedContract(class_hash),
148148
}
149149
}

0 commit comments

Comments
 (0)