mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-05-18 16:28:08 +00:00
Formatting
This commit is contained in:
parent
344bde60fc
commit
b2de856b3d
|
@ -55,8 +55,7 @@ impl Application {
|
|||
}
|
||||
|
||||
pub fn get_connection_pool(configuration: &DatabaseSettings) -> PgPool {
|
||||
PgPoolOptions::new()
|
||||
.connect_lazy_with(configuration.with_db())
|
||||
PgPoolOptions::new().connect_lazy_with(configuration.with_db())
|
||||
}
|
||||
|
||||
pub struct ApplicationBaseUrl(pub String);
|
||||
|
|
Loading…
Reference in a new issue