summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime
diff options
context:
space:
mode:
authorxliiv <tymoteusz.jankowski@gmail.com>2020-05-30 20:18:01 +0200
committerGitHub <noreply@github.com>2020-05-30 20:18:01 +0200
commitf2f30d4cf6dfad9ed5b1e393b91bc2ed4e244483 (patch)
tree0df5e22058dd5dae28b06c2160e085ee85cbd65e /tokio/src/runtime
parentc624cb8ce308aa638d42c2c539439e1db4cfc1c2 (diff)
docs: replace method links with intra-links (#2540)
Diffstat (limited to 'tokio/src/runtime')
-rw-r--r--tokio/src/runtime/builder.rs4
-rw-r--r--tokio/src/runtime/mod.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/tokio/src/runtime/builder.rs b/tokio/src/runtime/builder.rs
index 7c7b2d3f..fad72c7a 100644
--- a/tokio/src/runtime/builder.rs
+++ b/tokio/src/runtime/builder.rs
@@ -16,8 +16,8 @@ use std::sync::Arc;
/// See function level documentation for details on the various configuration
/// settings.
///
-/// [`build`]: #method.build
-/// [`Builder::new`]: #method.new
+/// [`build`]: method@Self::build
+/// [`Builder::new`]: method@Self::new
///
/// # Examples
///
diff --git a/tokio/src/runtime/mod.rs b/tokio/src/runtime/mod.rs
index 9b7d41a3..fc016e96 100644
--- a/tokio/src/runtime/mod.rs
+++ b/tokio/src/runtime/mod.rs
@@ -268,7 +268,7 @@ use std::time::Duration;
///
/// [timer]: crate::time
/// [mod]: index.html
-/// [`new`]: #method.new
+/// [`new`]: method@Self::new
/// [`Builder`]: struct@Builder
/// [`tokio::run`]: fn@run
#[derive(Debug)]