Fix clippy errors

This commit is contained in:
Luca Palmieri 2021-12-28 17:51:36 +01:00
parent 6f0a9eb718
commit 674358415b

View file

@ -41,7 +41,7 @@ impl DatabaseSettings {
PgConnectOptions::new() PgConnectOptions::new()
.host(&self.host) .host(&self.host)
.username(&self.username) .username(&self.username)
.password(&self.password.expose_secret()) .password(self.password.expose_secret())
.port(self.port) .port(self.port)
.ssl_mode(ssl_mode) .ssl_mode(ssl_mode)
} }