Skip to content

Commit

Permalink
Revert "ignore some doc tests"
Browse files Browse the repository at this point in the history
This reverts commit f92d065.
  • Loading branch information
mox692 committed Jul 25, 2024
1 parent f92d065 commit 580440b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tokio-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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()
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 580440b

Please sign in to comment.