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); /// }