From 623483c81f545aabf314d2aa005a037db032a911 Mon Sep 17 00:00:00 2001 From: Adam Chalmers Date: Thu, 20 Apr 2023 09:12:43 -0500 Subject: [PATCH] docs: fix typo in `#[tokio::test]` docs (#5636) Both current- and multi-thread runtime claimed to be the default, but only current thread actually is. --- tokio-macros/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tokio-macros/src/lib.rs b/tokio-macros/src/lib.rs index f56af5282..1d024f597 100644 --- a/tokio-macros/src/lib.rs +++ b/tokio-macros/src/lib.rs @@ -295,8 +295,7 @@ pub fn main_rt(args: TokenStream, item: TokenStream) -> TokenStream { /// ``` /// /// The `worker_threads` option configures the number of worker threads, and -/// defaults to the number of cpus on the system. This is the default -/// flavor. +/// defaults to the number of cpus on the system. /// /// Note: The multi-threaded runtime requires the `rt-multi-thread` feature /// flag.