Clarify defaults in 'Config' documentation.

This commit is contained in:
Sergio Benitez 2019-05-10 16:34:20 -07:00
parent 9dce86744c
commit 82da917055
1 changed files with 5 additions and 4 deletions

View File

@ -95,7 +95,8 @@ impl Config {
ConfigBuilder::new(env) ConfigBuilder::new(env)
} }
/// Returns a `Config` with the parameters for the environment `env`. /// Returns a `Config` with the default parameters for the environment
/// `env`. See [`config`](::config) for a list of defaults.
/// ///
/// # Example /// # Example
/// ///
@ -137,7 +138,7 @@ impl Config {
} }
/// Returns a `Config` with the default parameters of the development /// Returns a `Config` with the default parameters of the development
/// environment. /// environment. See [`config`](::config) for a list of defaults.
/// ///
/// # Example /// # Example
/// ///
@ -152,7 +153,7 @@ impl Config {
} }
/// Returns a `Config` with the default parameters of the staging /// Returns a `Config` with the default parameters of the staging
/// environment. /// environment. See [`config`](::config) for a list of defaults.
/// ///
/// # Example /// # Example
/// ///
@ -167,7 +168,7 @@ impl Config {
} }
/// Returns a `Config` with the default parameters of the production /// Returns a `Config` with the default parameters of the production
/// environment. /// environment. See [`config`](::config) for a list of defaults.
/// ///
/// # Example /// # Example
/// ///