Use 'default', not 'global' profile in db docs.

This commit is contained in:
Sergio Benitez 2021-04-28 01:13:11 -07:00
parent 3c8f5708ea
commit 9ad4fb2781
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ impl Config {
/// # use rocket::figment::{Figment, providers::{Format, Toml}};
/// // Assume that these are the contents of `Rocket.toml`:
/// # let toml = Toml::string(r#"
/// [global.databases]
/// [default.databases]
/// my_db = { url = "db/db.sqlite", pool_size = 25 }
/// my_other_db = { url = "mysql://root:root@localhost/database" }
/// # "#).nested();