Skip to content

Commit 008c352

Browse files
committed
chore: cargo fmt
1 parent 8cb3e0a commit 008c352

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

stackslib/src/net/stackerdb/sync.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,8 @@ impl<NC: NeighborComms> StackerDBSync<NC> {
387387
self.downloaded_chunks.insert(naddr.clone(), vec![data]);
388388
}
389389

390-
self.chunk_fetch_priorities.retain(|(chunk, ..)| chunk.slot_id != slot_id);
390+
self.chunk_fetch_priorities
391+
.retain(|(chunk, ..)| chunk.slot_id != slot_id);
391392

392393
if self.chunk_fetch_priorities.len() > 0 {
393394
let next_chunk_fetch_priority =
@@ -408,7 +409,8 @@ impl<NC: NeighborComms> StackerDBSync<NC> {
408409
) {
409410
self.chunk_invs.insert(naddr.clone(), new_inv);
410411

411-
self.chunk_push_priorities.retain(|(chunk, ..)| chunk.chunk_data.slot_id != slot_id);
412+
self.chunk_push_priorities
413+
.retain(|(chunk, ..)| chunk.chunk_data.slot_id != slot_id);
412414

413415
if self.chunk_push_priorities.len() > 0 {
414416
let next_chunk_push_priority =

0 commit comments

Comments
 (0)