Skip to content

Commit

Permalink
".git/.scripts/commands/fmt/fmt.sh"
Browse files Browse the repository at this point in the history
  • Loading branch information
command-bot committed Nov 26, 2024
1 parent 6c1c639 commit a475277
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions substrate/client/rpc-servers/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit a475277

Please sign in to comment.