mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-27 11:31:11 +00:00
Formatting
This commit is contained in:
parent
2b8a8244d7
commit
2e74ab3df1
1 changed files with 1 additions and 2 deletions
|
@ -10,8 +10,7 @@ async fn main() -> std::io::Result<()> {
|
|||
init_subscriber(subscriber);
|
||||
|
||||
let configuration = get_configuration().expect("Failed to read configuration.");
|
||||
let connection_pool = PgPoolOptions::new()
|
||||
.connect_lazy_with(configuration.database.with_db());
|
||||
let connection_pool = PgPoolOptions::new().connect_lazy_with(configuration.database.with_db());
|
||||
|
||||
let address = format!(
|
||||
"{}:{}",
|
||||
|
|
Loading…
Reference in a new issue