Skip to content

Commit

Permalink
runtime: fix LocalRuntime doc links (#7074)
Browse files Browse the repository at this point in the history
  • Loading branch information
nominolo authored Jan 6, 2025
1 parent fd2048d commit 15f7366
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tokio/src/runtime/local_runtime/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down Expand Up @@ -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
///
Expand Down

0 comments on commit 15f7366

Please sign in to comment.