Skip to content

Commit e4af663

Browse files
committed
chore: Apply Clippy lint to_string_in_format_args
1 parent 57522f9 commit e4af663

File tree

1 file changed

+6
-6
lines changed
  • stackslib/src/chainstate/stacks/boot

1 file changed

+6
-6
lines changed

stackslib/src/chainstate/stacks/boot/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@ pub mod test {
17461746
let value = eval_at_tip(
17471747
peer,
17481748
"pox",
1749-
&format!("(stx-get-balance '{})", addr.to_string()),
1749+
&format!("(stx-get-balance '{})", addr),
17501750
);
17511751
if let Value::UInt(balance) = value {
17521752
return balance;
@@ -1762,7 +1762,7 @@ pub mod test {
17621762
let value_opt = eval_at_tip(
17631763
peer,
17641764
"pox-4",
1765-
&format!("(get-stacker-info '{})", addr.to_string()),
1765+
&format!("(get-stacker-info '{})", addr),
17661766
);
17671767
let data = if let Some(d) = value_opt.expect_optional().unwrap() {
17681768
d
@@ -1815,7 +1815,7 @@ pub mod test {
18151815
let value_opt = eval_at_tip(
18161816
peer,
18171817
"pox",
1818-
&format!("(get-stacker-info '{})", addr.to_string()),
1818+
&format!("(get-stacker-info '{})", addr),
18191819
);
18201820
let data = if let Some(d) = value_opt.expect_optional().unwrap() {
18211821
d
@@ -4267,7 +4267,7 @@ pub mod test {
42674267
(var-set test-result
42684268
(match result ok_value -1 err_value err_value))
42694269
(var-set test-run true))
4270-
", boot_code_test_addr().to_string()));
4270+
", boot_code_test_addr()));
42714271

42724272
block_txs.push(bob_test_tx);
42734273

@@ -4281,7 +4281,7 @@ pub mod test {
42814281
(var-set test-result
42824282
(match result ok_value -1 err_value err_value))
42834283
(var-set test-run true))
4284-
", boot_code_test_addr().to_string()));
4284+
", boot_code_test_addr()));
42854285

42864286
block_txs.push(alice_test_tx);
42874287

@@ -4295,7 +4295,7 @@ pub mod test {
42954295
(var-set test-result
42964296
(match result ok_value -1 err_value err_value))
42974297
(var-set test-run true))
4298-
", boot_code_test_addr().to_string()));
4298+
", boot_code_test_addr()));
42994299

43004300
block_txs.push(charlie_test_tx);
43014301
}

0 commit comments

Comments
 (0)