Skip to content

Commit b191746

Browse files
committed
fix lint
1 parent 741341f commit b191746

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

crates/node/src/add_ons/rollup.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
use crate::{
2-
args::ScrollRollupNodeConfig,
3-
pprof::PprofConfig,
4-
};
1+
use crate::{args::ScrollRollupNodeConfig, pprof::PprofConfig};
52

63
use reth_chainspec::NamedChain;
74
use reth_network::NetworkProtocols;

crates/node/src/pprof.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ impl PprofConfig {
109109
let io = TokioIo::new(stream);
110110

111111
tokio::spawn(async move {
112-
let service = service_fn(move |req| Self::handle_request(req, default_duration));
112+
let service =
113+
service_fn(move |req| Self::handle_request(req, default_duration));
113114

114115
if let Err(err) = http1::Builder::new().serve_connection(io, service).await {
115116
error!("Error serving connection from {}: {}", peer_addr, err);

0 commit comments

Comments
 (0)