runtime: fix LocalRuntime doc links (#7074)

This commit is contained in:
Thomas Schilling 2025-01-06 15:49:42 +01:00 committed by GitHub
parent fd2048dad1
commit 15f73666f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
///