summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormessense <messense@icloud.com>2020-10-16 19:49:30 +0800
committerGitHub <noreply@github.com>2020-10-16 13:49:30 +0200
commit3cc6ce7a995b0d34b00ca1e5798c2c523cc63e7a (patch)
tree258a622c109681600542e7497f6073ab675807c8
parent81db03204dab8961a5e1bb149877f9a8c31df3fd (diff)
doc: update version to 0.3 in module documentation (#2974)
-rw-r--r--tokio/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs
index 9d1e0e28..0ae15ab6 100644
--- a/tokio/src/lib.rs
+++ b/tokio/src/lib.rs
@@ -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