mirror of https://github.com/rwf2/Rocket.git
Clarify defaults in 'Config' documentation.
This commit is contained in:
parent
9dce86744c
commit
82da917055
|
@ -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
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue