Skip to content

Commit 79fa3a8

Browse files
committed
ci: fix cargo fmt and clippy warnings 🏮
1 parent dc064fb commit 79fa3a8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

crates/flashstat-api/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ pub trait FlashApi {
2828
async fn get_sequencer_rankings(&self) -> RpcResult<Vec<flashstat_common::SequencerStats>>;
2929

3030
#[method(name = "ingestBlock")]
31-
async fn ingest_block(&self, block: ethers::types::Block<ethers::types::H256>) -> RpcResult<()>;
31+
async fn ingest_block(&self, block: ethers::types::Block<ethers::types::H256>)
32+
-> RpcResult<()>;
3233

3334
#[subscription(name = "subscribeBlocks", item = FlashBlock)]
3435
async fn subscribe_blocks(&self) -> jsonrpsee::core::SubscriptionResult;

crates/flashstat-core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use futures_util::StreamExt;
1313
use std::sync::Arc;
1414
use std::time::Duration;
1515
use tee::TeeVerifier;
16-
use tokio::sync::{broadcast, Mutex};
16+
use tokio::sync::{Mutex, broadcast};
1717
use tracing::{error, info, warn};
1818

1919
pub struct FlashMonitor {

0 commit comments

Comments
 (0)