mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
Improve the 'Getting started' section
This commit is contained in:
parent
9f18045d15
commit
468b4ec821
2 changed files with 12 additions and 0 deletions
|
@ -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`:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue