Skip to content

Commit 15f7366

Browse files
authored
runtime: fix LocalRuntime doc links (#7074)
1 parent fd2048d commit 15f7366

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tokio/src/runtime/local_runtime/runtime.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ impl LocalRuntime {
166166
///
167167
/// This function _will_ be run on another thread.
168168
///
169-
/// See the documentation in the non-local runtime for more information.
169+
/// See the [documentation in the non-local runtime][Runtime] for more
170+
/// information.
170171
///
171172
/// [Runtime]: crate::runtime::Runtime::spawn_blocking
172173
///
@@ -197,7 +198,8 @@ impl LocalRuntime {
197198
/// Runs a future to completion on the Tokio runtime. This is the
198199
/// runtime's entry point.
199200
///
200-
/// See the documentation for [the equivalent method on Runtime] for more information.
201+
/// See the documentation for [the equivalent method on Runtime][Runtime]
202+
/// for more information.
201203
///
202204
/// [Runtime]: crate::runtime::Runtime::block_on
203205
///

0 commit comments

Comments
 (0)