From 5a93bd4018b062d503dd1943f324ad95cb115144 Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Sat, 18 Feb 2023 22:54:16 +0000 Subject: [PATCH] Fix lint --- src/startup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/startup.rs b/src/startup.rs index 088366c..117d8ca 100644 --- a/src/startup.rs +++ b/src/startup.rs @@ -33,7 +33,7 @@ impl Application { "{}:{}", configuration.application.host, configuration.application.port ); - let listener = TcpListener::bind(&address)?; + let listener = TcpListener::bind(address)?; let port = listener.local_addr().unwrap().port(); let server = run(listener, connection_pool, email_client)?;