Fix clippy errors

This commit is contained in:
Luca Palmieri 2021-12-28 17:51:18 +01:00
parent 3cb4cc7f9f
commit 812ee92869

View file

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