Skip to content

Commit 2834095

Browse files
committed
chore: Apply a couple fixes I missed in previous commits
1 parent 3ac6aae commit 2834095

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ pub fn check_pox_print_event(
283283
if v != &inner_val {
284284
wrong.push((
285285
(&inner_key).to_string(),
286-
format!("{}", v),
287-
format!("{}", &inner_val),
286+
v.to_string(),
287+
(&inner_val).to_string(),
288288
));
289289
}
290290
}

stackslib/src/net/api/getattachmentsinv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl RPCRequestHandler for RPCGetAttachmentsInvRequestHandler {
172172
}
173173
if page_indexes.is_empty() {
174174
let msg = "Page indexes missing".to_string();
175-
warn!("{}", msg);
175+
warn!("{msg}");
176176
return StacksHttpResponse::new_error(&preamble, &HttpBadRequest::new(msg))
177177
.try_into_contents()
178178
.map_err(NetError::from);

0 commit comments

Comments
 (0)