Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix LocalRuntime doc links #7074

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading