chore: fix example in readme
This commit is contained in:
parent
184450d78c
commit
6c5b9da5f0
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ config! {
|
||||||
fn main () {
|
fn main () {
|
||||||
dotenv().ok();
|
dotenv().ok();
|
||||||
cfg::init();
|
cfg::init();
|
||||||
assert_eq(cfg::HOST(), String::from("127.0.0.1");
|
assert_eq(cfg::HOST(), String::from("127.0.0.1"));
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ config! {
|
||||||
fn main () {
|
fn main () {
|
||||||
// dotenv().ok();
|
// dotenv().ok();
|
||||||
cfg::init();
|
cfg::init();
|
||||||
assert_eq(cfg::HOST(), String::from("127.0.0.1");
|
assert_eq(cfg::HOST(), String::from("127.0.0.1"));
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Reference in a new issue