doc: update version to 0.3 in module documentation (#2974)

This commit is contained in:
messense 2020-10-16 19:49:30 +08:00 committed by GitHub
parent 81db03204d
commit 3cc6ce7a99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@
//! enabling the `full` feature flag:
//!
//! ```toml
//! tokio = { version = "0.2", features = ["full"] }
//! tokio = { version = "0.3", features = ["full"] }
//! ```
//!
//! ### Authoring applications
@ -72,7 +72,7 @@
//! This example shows the quickest way to get started with Tokio.
//!
//! ```toml
//! tokio = { version = "0.2", features = ["full"] }
//! tokio = { version = "0.3", features = ["full"] }
//! ```
//!
//! ### Authoring libraries
@ -88,7 +88,7 @@
//! needs to `tokio::spawn` and use a `TcpStream`.
//!
//! ```toml
//! tokio = { version = "0.2", features = ["rt", "net"] }
//! tokio = { version = "0.3", features = ["rt", "net"] }
//! ```
//!
//! ## Working With Tasks