runtime: fix LocalRuntime doc links (#7074)

This commit is contained in:
Thomas Schilling
2025-01-06 14:49:42 +00:00
committed by GitHub
parent fd2048dad1
commit 15f73666f1
+4 -2
View File
@@ -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
///