diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-03-25 13:33:26 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2021-03-25 13:33:26 +0100 |
commit | 729fc25cf6ecf1123401a314151b25cfa3225659 (patch) | |
tree | ce149df05a1fbc07c851c2fafaf28d3ee15422de /src | |
parent | 70a6cbb1870c9b0e7bca267e1fd00116f5077c71 (diff) |
chore: use different env separator
Diffstat (limited to 'src')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index e6cd0bd..aacfe06 100644 --- a/src/config.rs +++ b/src/config.rs @@ -20,7 +20,7 @@ pub struct Config { impl Config { pub fn from_env() -> Result<Self, ConfigError> { let mut cfg = config::Config::new(); - cfg.merge(config::Environment::new())?; + cfg.merge(config::Environment::new().separator("__"))?; cfg.try_into() } |