mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
macros: fix doc format issue (#6686)
This commit is contained in:
@@ -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);
|
||||||
/// }
|
/// }
|
||||||
|
|||||||
Reference in New Issue
Block a user