Rocket

A web framework for Rust. https://rocket.rs (mirror)
git clone git://git.thc420.xyz/Rocket
Log | Files | Refs | README

commit 3e7a20ae57e0e5776bee0fb65dfbef3d9f8a43a1
parent fdd76ecf7e23eeeaa1cd7a1b190e67f43a0d4ded
Author: Sergio Benitez <sb@sergio.bz>
Date:   Fri, 10 May 2019 16:34:20 -0700

Clarify defaults in 'Config' documentation.

Diffstat:
Mcore/lib/src/config/config.rs | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/core/lib/src/config/config.rs b/core/lib/src/config/config.rs @@ -95,7 +95,8 @@ impl Config { 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 /// @@ -137,7 +138,7 @@ impl Config { } /// Returns a `Config` with the default parameters of the development - /// environment. + /// environment. See [`config`](::config) for a list of defaults. /// /// # Example /// @@ -152,7 +153,7 @@ impl Config { } /// Returns a `Config` with the default parameters of the staging - /// environment. + /// environment. See [`config`](::config) for a list of defaults. /// /// # Example /// @@ -167,7 +168,7 @@ impl Config { } /// Returns a `Config` with the default parameters of the production - /// environment. + /// environment. See [`config`](::config) for a list of defaults. /// /// # Example ///