yes clippy, okay clippy
This commit is contained in:
parent
458207cea3
commit
c75bd0cb31
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ impl Conf {
|
|||
|
||||
let s = Config::builder()
|
||||
.add_source(File::with_name("conf/default"))
|
||||
.add_source(File::with_name(&format!("conf/{}", mode)).required(false))
|
||||
.add_source(File::with_name(&format!("conf/{mode}")).required(false))
|
||||
.add_source(File::with_name("conf/secrets").required(false))
|
||||
.add_source(Environment::with_prefix("z2a"))
|
||||
.build()?;
|
||||
|
|
Loading…
Add table
Reference in a new issue