From 4bee94eb067bd5f1b82f50751a1005029bfece88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathas=20Concei=C3=A7=C3=A3o?= Date: Mon, 21 Oct 2019 14:02:36 -0300 Subject: [PATCH] runtime: update doc regarding `runtime::run` function helper (#1671) --- tokio/src/runtime/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/runtime/mod.rs b/tokio/src/runtime/mod.rs index 6e42a4867..f696272b3 100644 --- a/tokio/src/runtime/mod.rs +++ b/tokio/src/runtime/mod.rs @@ -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: //!