From 9ea3f01c394d0268e267ade9c64c0e57655b1852 Mon Sep 17 00:00:00 2001 From: Ruslan Pislari Date: Wed, 26 Jun 2024 20:34:28 +0300 Subject: [PATCH] fix: remove unusual reference --- crates/http-service/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/http-service/src/lib.rs b/crates/http-service/src/lib.rs index 788e9e7..5abae3b 100644 --- a/crates/http-service/src/lib.rs +++ b/crates/http-service/src/lib.rs @@ -165,7 +165,7 @@ where let listener = if let Some(fd) = owned_fd { TcpListener::from(fd) } else { - TcpListener::bind(&addr)? + TcpListener::bind(addr)? }; let listen_addr = listener.local_addr()?; let service = Arc::new(self);