Skip to content

Commit 1344ecb

Browse files
committed
chore: Apply Clippy lint borrow_deref_ref
1 parent 8c23c0e commit 1344ecb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stackslib/src/clarity_vm/clarity.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -822,9 +822,9 @@ impl<'a> ClarityBlockConnection<'a, '_> {
822822

823823
// instantiate costs 2 contract...
824824
let cost_2_code = if mainnet {
825-
&*BOOT_CODE_COSTS_2
825+
BOOT_CODE_COSTS_2
826826
} else {
827-
&*BOOT_CODE_COSTS_2_TESTNET
827+
BOOT_CODE_COSTS_2_TESTNET
828828
};
829829

830830
let payload = TransactionPayload::SmartContract(
@@ -1013,7 +1013,7 @@ impl<'a> ClarityBlockConnection<'a, '_> {
10131013
}
10141014

10151015
/////////////////// .costs-3 ////////////////////////
1016-
let cost_3_code = &*BOOT_CODE_COSTS_3;
1016+
let cost_3_code = BOOT_CODE_COSTS_3;
10171017

10181018
let payload = TransactionPayload::SmartContract(
10191019
TransactionSmartContract {

0 commit comments

Comments
 (0)