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)?;