mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
runtime: update doc regarding runtime::run function helper (#1671)
This commit is contained in:
committed by
Carl Lerche
parent
ed5a94eb2d
commit
4bee94eb06
@@ -14,7 +14,7 @@
|
|||||||
//! boilerplate to run a Tokio application.
|
//! boilerplate to run a Tokio application.
|
||||||
//!
|
//!
|
||||||
//! Most applications wont need to use [`Runtime`] directly. Instead, they will
|
//! Most applications wont need to use [`Runtime`] directly. Instead, they will
|
||||||
//! use the [`run`] function, which uses [`Runtime`] under the hood.
|
//! use the [`tokio::main`] attribute macro, which uses [`Runtime`] under the hood.
|
||||||
//!
|
//!
|
||||||
//! Creating a [`Runtime`] does the following:
|
//! Creating a [`Runtime`] does the following:
|
||||||
//!
|
//!
|
||||||
|
|||||||
Reference in New Issue
Block a user