From ac69d37302b6639343af3ed3e34707fac29b8581 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Fri, 25 Feb 2022 11:07:59 -0800 Subject: [PATCH] task: fix broken link in `AbortHandle` RustDoc (#4545) ## Motivation There's a broken docs link in the docs for `AbortHandle`. Somehow this managed to slip past CI yesterday when #4530 was merged (https://github.com/tokio-rs/tokio/runs/5325278596?check_suite_focus=true) but it's breaking the build now (https://github.com/tokio-rs/tokio/runs/5337182732?check_suite_focus=true) which seems really weird to me, but...whatever... ## Solution This branch fixes the broken link lol. Signed-off-by: Eliza Weisman --- tokio/src/runtime/task/abort.rs | 1 + 1 file changed, 1 insertion(+) 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))]