Skip to content

Commit

Permalink
Fix cfg_attr for JoinHandle
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc committed Jun 6, 2021
1 parent 95ac7f8 commit dcf2522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dcf2522

Please sign in to comment.