From dcf252234b63b3a658a0bc07b684f529b1886119 Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Sun, 6 Jun 2021 12:18:40 +0300 Subject: [PATCH] Fix cfg_attr for JoinHandle --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f486b08..91575a2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -136,7 +136,7 @@ pub mod prelude { pub use crate::handler::Coroutine; /// Re-export of `JoinHandle` of chosen runtime. - #[cfg_attr(not(feature = "docsrs"), doc(hidden))] + #[cfg_attr(not(docsrs), doc(hidden))] // ^ Kludge: `cargo deadlinks` finds a broken link in the tokio docs, // and currently it's not possible to ignore that error. // However, we don't want to completely hide this element.