summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Fochler <mail@christianfochler.de>2018-01-29 08:09:04 +0100
committerChristian Fochler <mail@christianfochler.de>2018-01-29 08:09:04 +0100
commit05f02ebc1c480fc4d00ac6e637806fd30a42db20 (patch)
treec10f25ad59b1b21bffc2c089035819f9409b7383
parent5ba6b7a437912ff40a216d3f99f963998b408911 (diff)
remove comment adjustments
-rw-r--r--examples/hierarchical-env/src/settings.rs2
-rw-r--r--examples/simple/src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/hierarchical-env/src/settings.rs b/examples/hierarchical-env/src/settings.rs
index bde5819..c908f46 100644
--- a/examples/hierarchical-env/src/settings.rs
+++ b/examples/hierarchical-env/src/settings.rs
@@ -53,7 +53,7 @@ impl Settings {
// This file shouldn't be checked in to git
s.merge(File::with_name("config/local").required(false))?;
- // Add in settings from the environment (with a prefix of APP_)
+ // Add in settings from the environment (with a prefix of APP)
// Eg.. `APP_DEBUG=1 ./target/app` would set the `debug` key
s.merge(Environment::with_prefix("app"))?;
diff --git a/examples/simple/src/main.rs b/examples/simple/src/main.rs
index 8c738a8..fb66e03 100644
--- a/examples/simple/src/main.rs
+++ b/examples/simple/src/main.rs
@@ -7,7 +7,7 @@ fn main() {
settings
// Add in `./Settings.toml`
.merge(config::File::with_name("Settings")).unwrap()
- // Add in settings from the environment (with a prefix of APP_)
+ // Add in settings from the environment (with a prefix of APP)
// Eg.. `APP_DEBUG=1 ./target/app` would set the `debug` key
.merge(config::Environment::with_prefix("APP")).unwrap();