From a0ca897156286414f21d656c1474cd0f9d6c6346 Mon Sep 17 00:00:00 2001 From: Linda_pp Date: Wed, 7 Feb 2024 11:19:08 +0900 Subject: [PATCH] fix(doc): Fix `env_logger` version is outdated in readme doc Signed-off-by: rhysd --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1457ecd7..d18a868e 100644 --- a/README.md +++ b/README.md @@ -77,12 +77,9 @@ logging levels, the letter case is not significant. Tests can use the `env_logger` crate to see log messages generated during that test: -```toml -[dependencies] -log = "0.4.0" - -[dev-dependencies] -env_logger = "0.10.0" +```console +$ cargo add log +$ cargo add --dev env_logger ``` ```rust