mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2025-01-07 07:35:37 +00:00
Fix lint
This commit is contained in:
parent
fa0d11566e
commit
5a93bd4018
1 changed files with 1 additions and 1 deletions
|
@ -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)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue