From a475277b486f8170c9dc4ae9fee8ef6319f61410 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Tue, 26 Nov 2024 15:14:43 +0000 Subject: [PATCH] ".git/.scripts/commands/fmt/fmt.sh" --- substrate/client/rpc-servers/src/utils.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/substrate/client/rpc-servers/src/utils.rs b/substrate/client/rpc-servers/src/utils.rs index 77ba6c9ff3a3..b76cfced3401 100644 --- a/substrate/client/rpc-servers/src/utils.rs +++ b/substrate/client/rpc-servers/src/utils.rs @@ -176,9 +176,7 @@ pub(crate) struct Listener { impl Listener { /// Accepts a new connection. - pub(crate) async fn accept( - &mut self, - ) -> std::io::Result<(tokio::net::TcpStream, SocketAddr)> { + pub(crate) async fn accept(&mut self) -> std::io::Result<(tokio::net::TcpStream, SocketAddr)> { let (sock, remote_addr) = self.listener.accept().await?; Ok((sock, remote_addr)) }