Improve the 'Getting started' section

This commit is contained in:
Temirkhan Myrzamadi 2020-02-25 03:35:15 +06:00
parent 9f18045d15
commit 468b4ec821
2 changed files with 12 additions and 0 deletions

View file

@ -55,7 +55,13 @@ $ set TELOXIDE_TOKEN=<Your token here>
```
3. Be sure that you are up to date:
```bash
# If you're using stable
$ rustup update stable
$ rustup override set stable
# If you're using nightly
$ rustup update nightly
$ rustup override set nightly
```
4. Execute `cargo new my_bot`, enter the directory and put these lines into your `Cargo.toml`:

View file

@ -19,7 +19,13 @@
//!
//! 3. Be sure that you are up to date:
//! ```bash
//! # If you're using stable
//! $ rustup update stable
//! $ rustup override set stable
//!
//! # If you're using nightly
//! $ rustup update nightly
//! $ rustup override set nightly
//! ```
//!
//! 4. Execute `cargo new my_bot`, enter the directory and put these lines into