macros: fix doc format issue (#6686)

This commit is contained in:
Paolo Barbolini 2024-07-16 12:13:41 +02:00 committed by GitHub
parent 4825c444eb
commit 15925efe43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -410,7 +410,7 @@ pub fn main_rt(args: TokenStream, item: TokenStream) -> TokenStream {
/// ### Set number of worker threads /// ### Set number of worker threads
/// ///
/// ```no_run /// ```no_run
/// #[tokio::test(flavor ="multi_thread", worker_threads = 2)] /// #[tokio::test(flavor = "multi_thread", worker_threads = 2)]
/// async fn my_test() { /// async fn my_test() {
/// assert!(true); /// assert!(true);
/// } /// }