From 15925efe436fdfc2c5a8e5b27c82dc6501d90317 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Tue, 16 Jul 2024 12:13:41 +0200 Subject: [PATCH] macros: fix doc format issue (#6686) --- tokio-macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-macros/src/lib.rs b/tokio-macros/src/lib.rs index 860a09299..b5d31c7f6 100644 --- a/tokio-macros/src/lib.rs +++ b/tokio-macros/src/lib.rs @@ -410,7 +410,7 @@ pub fn main_rt(args: TokenStream, item: TokenStream) -> TokenStream { /// ### Set number of worker threads /// /// ```no_run -/// #[tokio::test(flavor ="multi_thread", worker_threads = 2)] +/// #[tokio::test(flavor = "multi_thread", worker_threads = 2)] /// async fn my_test() { /// assert!(true); /// }