Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2024-08-21 22:28:43 +00:00 committed by GitHub
parent db9eda4d2e
commit 79c8abf3b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View File

@ -515,7 +515,11 @@ async fn handle_eth_action(
EthAction::Request { .. } => "request",
},
km.source,
state.active_subscriptions.iter().map(|v| v.len()).collect::<Vec<_>>(),
state
.active_subscriptions
.iter()
.map(|v| v.len())
.collect::<Vec<_>>(),
),
)
.await;

View File

@ -444,7 +444,10 @@ fn unsubscribe(rx: RawSubscription, chain_id: &u64, providers: &Providers) {
continue;
};
let x = pubsub.unsubscribe(alloy_sub_id);
println!("we just tried unsubscribing {:?} unsubscribed: {:?}\r", alloy_sub_id, x);
println!(
"we just tried unsubscribing {:?} unsubscribed: {:?}\r",
alloy_sub_id, x
);
}
}