diff --git a/tokio/src/runtime/task/abort.rs b/tokio/src/runtime/task/abort.rs index b56cb5cd81a..6ed7ff1b7f2 100644 --- a/tokio/src/runtime/task/abort.rs +++ b/tokio/src/runtime/task/abort.rs @@ -38,6 +38,7 @@ impl AbortHandle { /// this method will do nothing. /// /// [cancelled]: method@super::error::JoinError::is_cancelled + /// [`JoinHandle::abort`]: method@super::JoinHandle::abort // the `AbortHandle` 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))]