chore: fix example in readme

This commit is contained in:
Dmitriy Pleshevskiy 2019-12-25 11:05:13 +03:00
parent 184450d78c
commit 6c5b9da5f0
2 changed files with 2 additions and 2 deletions

View file

@ -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"));
} }
``` ```

View file

@ -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"));
} }
``` ```