mirror of https://github.com/rwf2/Rocket.git
Use 'default', not 'global' profile in db docs.
This commit is contained in:
parent
3c8f5708ea
commit
9ad4fb2781
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue