summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime/builder.rs
diff options
context:
space:
mode:
authorAlice Ryhl <alice@ryhl.io>2020-04-24 21:05:10 +0200
committerGitHub <noreply@github.com>2020-04-24 21:05:10 +0200
commit894eb8b83fa8edbee2b67e1a6a8e7a1c3d74c096 (patch)
treebae69ce74f2434b411b9537737feed7bdada4d29 /tokio/src/runtime/builder.rs
parent3572ba5a7b15b83a4b25b21395e85425622ec0e6 (diff)
runtime: improve runtime and handle doc (#2440)
Refs: #2437
Diffstat (limited to 'tokio/src/runtime/builder.rs')
-rw-r--r--tokio/src/runtime/builder.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tokio/src/runtime/builder.rs b/tokio/src/runtime/builder.rs
index cfde9982..56fb898a 100644
--- a/tokio/src/runtime/builder.rs
+++ b/tokio/src/runtime/builder.rs
@@ -399,12 +399,13 @@ cfg_rt_core! {
/// Sets runtime to use a simpler scheduler that runs all tasks on the current-thread.
///
/// The executor and all necessary drivers will all be run on the current
- /// thread during `block_on` calls.
+ /// thread during [`block_on`] calls.
///
/// See also [the module level documentation][1], which has a section on scheduler
/// types.
///
/// [1]: index.html#runtime-configurations
+ /// [`block_on`]: Runtime::block_on
pub fn basic_scheduler(&mut self) -> &mut Self {
self.kind = Kind::Basic;
self