runtime: update doc regarding runtime::run function helper (#1671)

This commit is contained in:
Jonathas Conceição 2019-10-21 14:02:36 -03:00 committed by Carl Lerche
parent ed5a94eb2d
commit 4bee94eb06

View File

@ -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:
//!