mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
runtime: update doc regarding runtime::run
function helper (#1671)
This commit is contained in:
parent
ed5a94eb2d
commit
4bee94eb06
@ -14,7 +14,7 @@
|
||||
//! boilerplate to run a Tokio application.
|
||||
//!
|
||||
//! 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:
|
||||
//!
|
||||
|
Loading…
x
Reference in New Issue
Block a user