Skip to content

Commit 279b763

Browse files
committed
Fix lint
1 parent a42a6d5 commit 279b763

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
@@ -145,7 +145,7 @@ impl Display for ContractId {
145145

146146
fn get_contract_id(contracts_data: &ContractsDataStore, class_hash: ClassHash) -> ContractId {
147147
match contracts_data.get_contract_name(&class_hash) {
148-
Some(name) => ContractId::LocalContract(name.0.to_string()),
148+
Some(name) => ContractId::LocalContract(name.0.clone()),
149149
None => ContractId::ForkedContract(class_hash),
150150
}
151151
}

0 commit comments

Comments
 (0)