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.
This commit is contained in:
ukewea 2021-04-02 20:13:13 +08:00 committed by GitHub
parent cba87f2630
commit 0c7c9232a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"] }