From 1519ae777273b926091add7865dc1ee30c5c35fe Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Mon, 26 Sep 2022 12:29:57 +0100 Subject: [PATCH] clarify tokio::main docs --- actix-web/src/rt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-web/src/rt.rs b/actix-web/src/rt.rs index 929eadfd8..7973da73c 100644 --- a/actix-web/src/rt.rs +++ b/actix-web/src/rt.rs @@ -25,7 +25,7 @@ //! ``` //! //! # Running Actix Web Using `#[tokio::main]` -//! If you need to run something alongside Actix Web that uses Tokio's work stealing functionality, +//! If you need to run something that uses Tokio's work stealing functionality alongside Actix Web, //! you can run Actix Web under `#[tokio::main]`. The [`Server`](crate::dev::Server) object returned //! from [`HttpServer::run`](crate::HttpServer::run) can also be [`spawn`]ed, if preferred. //!