Skip to content

Commit

Permalink
Update tokio/src/runtime/task/join.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Ryhl <alice@ryhl.io>
  • Loading branch information
hawkw and Darksonn committed Feb 24, 2022
1 parent ebc77c9 commit ce07ebe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tokio/src/runtime/task/join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ cfg_rt! {
/// features][unstable] for details.
///
/// [unstable]: crate#unstable-features
// this type is only publicly exposed when `tokio_unstable` is enabled, but
// it is still defined for testing purposes.
#[cfg_attr(not(tokio_unstable), allow(unreachable_pub))]
#[cfg(any(tokio_unstable, test))]
#[cfg_attr(docsrs, doc(cfg(tokio_unstable)))]
pub struct AbortHandle {
raw: Option<RawTask>,
Expand Down

0 comments on commit ce07ebe

Please sign in to comment.