From 15f73666f18e0853fe1f730bbe8b9b1618fb1016 Mon Sep 17 00:00:00 2001 From: Thomas Schilling Date: Mon, 6 Jan 2025 15:49:42 +0100 Subject: [PATCH] runtime: fix `LocalRuntime` doc links (#7074) --- tokio/src/runtime/local_runtime/runtime.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tokio/src/runtime/local_runtime/runtime.rs b/tokio/src/runtime/local_runtime/runtime.rs index 0f2b944e4eb..358a771956b 100644 --- a/tokio/src/runtime/local_runtime/runtime.rs +++ b/tokio/src/runtime/local_runtime/runtime.rs @@ -166,7 +166,8 @@ impl LocalRuntime { /// /// This function _will_ be run on another thread. /// - /// See the documentation in the non-local runtime for more information. + /// See the [documentation in the non-local runtime][Runtime] for more + /// information. /// /// [Runtime]: crate::runtime::Runtime::spawn_blocking /// @@ -197,7 +198,8 @@ impl LocalRuntime { /// Runs a future to completion on the Tokio runtime. This is the /// runtime's entry point. /// - /// See the documentation for [the equivalent method on Runtime] for more information. + /// See the documentation for [the equivalent method on Runtime][Runtime] + /// for more information. /// /// [Runtime]: crate::runtime::Runtime::block_on ///