From 580440bdca8a8c339679feb12c03f044098d2ca6 Mon Sep 17 00:00:00 2001 From: mox692 Date: Thu, 25 Jul 2024 22:50:36 +0900 Subject: [PATCH] Revert "ignore some doc tests" This reverts commit f92d06552a72e96f57438ea02f199e5484eb4502. --- tokio-macros/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tokio-macros/src/lib.rs b/tokio-macros/src/lib.rs index d3cfe57fedb..b5d31c7f6dc 100644 --- a/tokio-macros/src/lib.rs +++ b/tokio-macros/src/lib.rs @@ -210,7 +210,7 @@ use proc_macro::TokenStream; /// /// This option is only compatible with the `current_thread` runtime. /// -/// ```ignore +/// ```no_run /// #[cfg(tokio_unstable)] /// #[tokio::main(flavor = "current_thread", unhandled_panic = "shutdown_runtime")] /// async fn main() { @@ -224,7 +224,7 @@ use proc_macro::TokenStream; /// /// Equivalent code not using `#[tokio::main]` /// -/// ```ignore +/// ```no_run /// #[cfg(tokio_unstable)] /// fn main() { /// tokio::runtime::Builder::new_current_thread() @@ -491,7 +491,7 @@ pub fn main_rt(args: TokenStream, item: TokenStream) -> TokenStream { /// /// Equivalent code not using `#[tokio::test]` /// -/// ```ignore +/// ```no_run /// #[cfg(tokio_unstable)] /// #[test] /// fn my_test() {