From 0c7c9232a5bb962698bef4cbaca4a882d90f1770 Mon Sep 17 00:00:00 2001 From: ukewea <60734042+ukewea@users.noreply.github.com> Date: Fri, 2 Apr 2021 20:13:13 +0800 Subject: [PATCH] Fix a typo in the Cargo.toml example in README The current example will cause warnings while compiling: warning: dependency (teloxide) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions warning: unused manifest key: dependencies.teloxide.verison By fixing the typo we can get rid of them. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54f0c841..8c794026 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ $ rustup override set nightly 5. Run `cargo new my_bot`, enter the directory and put these lines into your `Cargo.toml`: ```toml [dependencies] -teloxide = { verison = "0.4", features = ["auto-send"] } +teloxide = { version = "0.4", features = ["auto-send"] } log = "0.4.8" pretty_env_logger = "0.4.0" tokio = { version = "1.3", features = ["rt-multi-thread", "macros"] }